更新时间:2021-05-17 10:26:04
引入SimpleTree.js 文件
方法使用如下:
1 2 3 4 5 6 7 | $( function () { $( ".st_tree" ).SimpleTree({ /* 可无视代码部分*/ click: function (a) { if (!$(a).attr( "hasChild" )) alert($(a).attr( "ref" )); } }); }); |