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

解决动态操作视图datachange返回弹出异常

上级 d76d2e52
...@@ -63,6 +63,7 @@ this.viewState.next({ tag: "form", action: "autoload", data: {srfkey:this.contex ...@@ -63,6 +63,7 @@ this.viewState.next({ tag: "form", action: "autoload", data: {srfkey:this.contex
*/ */
public onClickOk(){ public onClickOk(){
let xData:any = this.$refs.form; let xData:any = this.$refs.form;
this.$store.commit('viewaction/setViewDataChange', { viewtag: this.viewtag, viewdatachange: false });
if(xData){ if(xData){
let preFormData:any = xData.getData(); let preFormData:any = xData.getData();
let nextFormData:any = xData.transformData(preFormData); let nextFormData:any = xData.transformData(preFormData);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册