树结构加载添加callBack回调方法

pull/221/MERGE
RuoYi 2020-10-13 12:05:06 +08:00
parent 7d8b7ba2d5
commit 74ec5204fe
1 changed files with 4 additions and 0 deletions

View File

@ -1306,6 +1306,10 @@ var table = {
}
var node = tree.getNodesByParam("id", treeId, null)[0];
$.tree.selectByIdName(treeId, node);
// 回调tree方法
if(typeof(options.callBack) === "function"){
options.callBack(tree);
}
});
},
// 搜索节点