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

优化逻辑

上级 909ebdbf
......@@ -106,6 +106,7 @@ import { Util } from '@ibiz-core/utils'
* @memberof ${srfclassname('${ctrl.codeName}')}Base
*/
public click_node(data:any){
this.treeNav.push(data);
this.load({data:data});
}
......@@ -471,7 +472,6 @@ import { Util } from '@ibiz-core/utils'
this.nodes = response.data; -->
this.nodes = [..._items];
this.parsNodes(this.nodes);
this.treeNav.push(node.data);
let isRoot = Object.is(node.level,0);
let isSelectedAll = node.checked;
this.setDefaultSelection(_items, isRoot, isSelectedAll);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册