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

update 逻辑调整

上级 3ee480c0
......@@ -181,8 +181,8 @@
return false;
}
// 合并表单参数
arg.param = this.viewparams ? JSON.parse(JSON.stringify(this.viewparams)) : {};
arg.context = this.context ? JSON.parse(JSON.stringify(this.context)) : {};
arg.param = this.viewparams ? {...this.viewparams} : {};
arg.context = this.context ? {...this.context} : {};
// 附加参数处理
const param = this.$viewTool.doEditorItemParam({context:this.navigateContext,param:this.navigateParam},this.context,this.viewparams,this.data);
Object.assign(arg.context,param.context);
......
......@@ -237,8 +237,8 @@ export default class AppMobMpicker extends Vue {
return false;
}
// 合并表单参数
arg.param = this.viewparams ? JSON.parse(JSON.stringify(this.viewparams)) : {};
arg.context = this.context ? JSON.parse(JSON.stringify(this.context)) : {};
arg.param = this.viewparams ? {...this.viewparams} : {};
arg.context = this.context ? {...this.context} : {};
// 附加参数处理
const param = this.$viewTool.doEditorItemParam({context:this.navigateContext,param:this.navigateParam},this.context,this.viewparams,this.data);
Object.assign(arg.context,param.context);
......
......@@ -698,8 +698,8 @@ export default class AppPicker extends Vue {
return false;
}
// 合并表单参数
arg.param = this.viewparams ? JSON.parse(JSON.stringify(this.viewparams)) : {};
arg.context = this.context ? JSON.parse(JSON.stringify(this.context)) : {};
arg.param = this.viewparams ? {...this.viewparams} : {};
arg.context = this.context ? {...this.context} : {};
// 附加参数处理
const param = this.$viewTool.doEditorItemParam({context:this.navigateContext,param:this.navigateParam},this.context,this.viewparams,this.data);
Object.assign(arg.context,param.context);
......
......@@ -644,8 +644,8 @@ export default class AppSelectDropDown extends Vue {
return false;
}
// 合并表单参数
arg.param = this.viewparams ? JSON.parse(JSON.stringify(this.viewparams)) : {};
arg.context = this.context ? JSON.parse(JSON.stringify(this.context)) : {};
arg.param = this.viewparams ? {...this.viewparams} : {};
arg.context = this.context ? {...this.context} : {};
// 附加参数处理
const param = this.$viewTool.doEditorItemParam({context:this.navigateContext,param:this.navigateParam},this.context,this.viewparams,this.data);
Object.assign(arg.context,param.context);
......
......@@ -234,8 +234,8 @@ export default class AppSelect extends Vue {
return false;
}
// 合并表单参数
arg.param = this.viewparams ? JSON.parse(JSON.stringify(this.viewparams)) : {};
arg.context = this.context ? JSON.parse(JSON.stringify(this.context)) : {};
arg.param = this.viewparams ? {...this.viewparams} : {};
arg.context = this.context ? {...this.context} : {};
// 附加参数处理
const param = this.$viewTool.doEditorItemParam({context:this.navigateContext,param:this.navigateParam},this.context,this.viewparams,this.data);
Object.assign(arg.context,param.context);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册