$(function () {
$('#tree_menu').tree({
onSelect: function (node) {
if (node.state == "closed"){
$(this).tree('expand', node.target);
}
else{
$(this).tree('collapse', node.target);
}
}
});
});
EasyUI tree 优化--点击文字折叠展开效果
猜你喜欢
转载自www.cnblogs.com/mzqworld/p/9188245.html
今日推荐
周排行