页面树:
<div class="tree">
<div class="treeleft ">
<div class="content minheight">
<ul id="treeDemo" class="ztree" style="width:360px; overflow:auto;min-height: 500px;">加载中...</ul>
</div>
</div>
</div>
js:
var isShow = false;
var setting = {
check: { //表示tree的节点在点击时的相关设置
enable: true, //是否显示radio/checkbox
autoCheckTrigger: false,
chkStyle: "checkbox",//值为checkbox或者radio表示
chkboxType: {"Y": "", "N": ""}//表示父子节点的联动效果,这里设置不联动
},
view: {
expandSpeed:"",
selec