onLoadSuccess:function(){

    //缩起所有
    $(this).tree('collapseAll');
    // 获取根节点
    var root =$(this).tree('getRoot').target
    //展开根节点     

$(this).tree('expand',root.target);
 } 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2021-07-14
  • 2022-12-23
  • 2022-12-23
  • 2021-08-09
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-14
  • 2021-12-12
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案