d88644d4 by yangjianbin

init

1 parent 274856b9
...@@ -73,7 +73,11 @@ ...@@ -73,7 +73,11 @@
73 var treeObj = $.fn.zTree.getZTreeObj("tree"); 73 var treeObj = $.fn.zTree.getZTreeObj("tree");
74 // console.log(treeObj); 74 // console.log(treeObj);
75 var nodes = treeObj.getCheckedNodes(true); 75 var nodes = treeObj.getCheckedNodes(true);
76 console.log(nodes); 76 var menuIds = [];
77 $.each(nodes, function (v) {
78 menuIds.push(v.id);
79 })
80 console.log(menuIds);
77 81
78 // layer_close(); 82 // layer_close();
79 } 83 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!