xieshuang
   //不能直接配置展开属性 因为没有数据,需要添加回调函数,异步加载成功展开
callback: {
			onAsyncSuccess: zTreeOnAsyncSuccess
	     }
//异步加载成功回调函数
function zTreeOnAsyncSuccess(event, treeId, treeNode, msg){
			$.fn.zTree.getZTreeObj(treeId).expandAll(true);
}

分类:

技术点:

相关文章: