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

树选择引擎逻辑调整

上级 7ca4de64
...@@ -84,7 +84,7 @@ export default class MobPickupTreeViewEngine extends ViewEngine { ...@@ -84,7 +84,7 @@ export default class MobPickupTreeViewEngine extends ViewEngine {
public onTreeLoad(args: any): void { public onTreeLoad(args: any): void {
if (this.view) { if (this.view) {
this.view.datainfo = args.srfmajortext; this.view.datainfo = args.srfmajortext;
this.view.viewdataschange.emit({ action: 'load', data: args }); // this.view.viewdataschange.emit({ action: 'load', data: args });
} }
} }
...@@ -96,8 +96,8 @@ export default class MobPickupTreeViewEngine extends ViewEngine { ...@@ -96,8 +96,8 @@ export default class MobPickupTreeViewEngine extends ViewEngine {
*/ */
public onTreeSelectchange(args: any): void { public onTreeSelectchange(args: any): void {
if (this.view) { if (this.view) {
this.view.$emit('viewdataschange', args);
this.view.selectedArray = args; this.view.selectedArray = args;
this.view.viewdataschange.emit({ action: 'selectchange', data: args });
} }
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册