提交 e494bd0d 编写于 作者: KK's avatar KK

组件加载参数异常

上级 b31a133a
...@@ -10,6 +10,12 @@ import { Util } from '@/ibiz-core/utils'; ...@@ -10,6 +10,12 @@ import { Util } from '@/ibiz-core/utils';
<#ibizinclude> <#ibizinclude>
../@MACRO/CONTROL/CONTROL_HEADER-BASE.vue.ftl ../@MACRO/CONTROL/CONTROL_HEADER-BASE.vue.ftl
</#ibizinclude> </#ibizinclude>
/**
* 加载完成
*
* @memberof ${srfclassname('${ctrl.codeName}')}
*/
public dataOverLoad:boolean = false;
/** /**
* 工作流审批意见控件绑定值 * 工作流审批意见控件绑定值
...@@ -1005,6 +1011,7 @@ import { Util } from '@/ibiz-core/utils'; ...@@ -1005,6 +1011,7 @@ import { Util } from '@/ibiz-core/utils';
this.$nextTick(() => { this.$nextTick(() => {
this.formState.next({ type: 'load', data: data }); this.formState.next({ type: 'load', data: data });
}); });
this.dataOverLoad = true;
} else if (response && response.status !== 401) { } else if (response && response.status !== 401) {
const { error: _data } = response; const { error: _data } = response;
this.$notice.error(_data.message); this.$notice.error(_data.message);
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
:formState="formState" :formState="formState"
:data="data" :data="data"
:context="context" :context="context"
:dataOverLoad="dataOverLoad"
:navigateContext ='<@getNavigateContext editor />' :navigateContext ='<@getNavigateContext editor />'
:navigateParam ='<@getNavigateParams editor />' :navigateParam ='<@getNavigateParams editor />'
:viewparams="viewparams" :viewparams="viewparams"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册