提交 2ec81f90 编写于 作者: Shine-zwj's avatar Shine-zwj

修复表单项更新

上级 e634b933
......@@ -21,7 +21,6 @@ ${item.render.code}
]"
:context="context"
:viewparams="viewparams"
ref="druipart"
:localContext ='<@getNavigateContext item />'
:localParam ='<@getNavigateParams item />'
parameterName='${appde.getCodeName()?lower_case}'
......
......@@ -1076,16 +1076,6 @@ import { Environment } from '@/environments/environment';
this.$emit('load', this.data);
</#if>
});
if(AppCenterService && AppCenterService.getMessageCenter()){
this.appStateEvent = AppCenterService.getMessageCenter().subscribe(({ name, action, data }) =>{
if(!Object.is(name,"${ctrl.getPSAppDataEntity().getCodeName()}")){
return;
}
if(Object.is(action,'appRefresh')){
this.refresh([data]);
}
})
}
}
/**
......@@ -1133,11 +1123,6 @@ import { Environment } from '@/environments/environment';
* @memberof ${srfclassname('${ctrl.codeName}')}Base
*/
public refresh(args?: any): void {
let druipart:any = this.$refs.druipart
if (druipart) {
druipart.refreshDRUIPart(args);
return;
}
let arg: any = {};
Object.assign(arg,args?args[0]:{});
if (this.data.srfkey && !Object.is(this.data.srfkey, '')) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册