dwr+dTree从后台获取数据展示成树问题,跪求大家帮忙! 前台js脚本为: function pageInit(){ var customerId = <%=request.getParameter("customer") %>; CustomerAction.CustomerAgencyList(customerId,function(lCustomerDept){ var x=0; var y=-1; var comp; var customer; var customername; d = new dTree('d'); for(var i=0; i<lCustomerDept.length; i++){