mirror of https://gitee.com/y_project/RuoYi.git
树结构加载添加callBack回调方法
parent
7d8b7ba2d5
commit
74ec5204fe
|
@ -1306,6 +1306,10 @@ var table = {
|
||||||
}
|
}
|
||||||
var node = tree.getNodesByParam("id", treeId, null)[0];
|
var node = tree.getNodesByParam("id", treeId, null)[0];
|
||||||
$.tree.selectByIdName(treeId, node);
|
$.tree.selectByIdName(treeId, node);
|
||||||
|
// 回调tree方法
|
||||||
|
if(typeof(options.callBack) === "function"){
|
||||||
|
options.callBack(tree);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 搜索节点
|
// 搜索节点
|
||||||
|
|
Loading…
Reference in New Issue