extJs TreePanel动态加载/TreePanel 传参

js代码:

mmTree.on('beforeload', function(){               
              mmTree.loader.dataUrl = 'mmTree.jsp'; 
              mmTree.loader.baseParams = {shipId:select_shipName,depId: select_depName}; 
}); 
mmTree.root.reload(); 

你可能感兴趣的:(TreePanel)