怎么解决jQuery的Uncaught TypeError: Cannot read property 'init' of undefined这个问题
functioninitZtree(){$.ajax({url:"assetType_querytype.action",data:'',dataType:'json',type:'post',async:false,//同步//数据量大用异步success:function(data){zTreeObj=$.fn.zTree.init($('#ztZtree'),setting,data);}}