Closed zoomtint closed 2 years ago
例如 eleTree.on('rightMenu',function(e){ if(e.type=='a'){ e.load([{name:'菜单1',value:'act1'}]) }else if(e.type=='b'){ e.load([{name:'菜单2',value:'act2'}]) } }) 望采纳
eleTree.on('rightMenu',function(e){ if(e.type=='a'){ e.load([{name:'菜单1',value:'act1'}]) }else if(e.type=='b'){ e.load([{name:'菜单2',value:'act2'}]) } })
已添加
例如
eleTree.on('rightMenu',function(e){ if(e.type=='a'){ e.load([{name:'菜单1',value:'act1'}]) }else if(e.type=='b'){ e.load([{name:'菜单2',value:'act2'}]) } })
望采纳