优化代码结构,完成分类处理

This commit is contained in:
yubaolee
2015-12-16 22:52:23 +08:00
parent f79e5c08fa
commit aab16e28aa
18 changed files with 223 additions and 142 deletions

View File

@@ -118,7 +118,7 @@
},
callback: {onClick: zTreeOnClick}
};
$.getJSON('CategoryManager/LoadModuleWithRoot', function (json) {
$.getJSON('CategoryManager/LoadForTree', function (json) {
var zTreeObj = $.fn.zTree.init($('#@_treeId'), setting, json);
zTreeObj.expandAll(true);
});