提交 4d4fda4f 编写于 作者: WodahsOrez's avatar WodahsOrez

lxm--viewparam和viewdata不同步bug修复

上级 a0e443bf
......@@ -90,8 +90,10 @@ export class ViewBase extends Vue {
@Watch("viewdata")
protected onViewData(newVal: any, oldVal: any): void {
if (!Object.is(newVal, oldVal) && this.engine) {
this.parseViewParam();
this.engine.load();
this.$nextTick(()=>{
this.parseViewParam();
this.engine.load();
});
}
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册