This commit is contained in:
zhutianqi
2021-12-02 13:40:37 +08:00
parent 19a9b71179
commit acbb06db12
4 changed files with 4 additions and 11 deletions
@@ -21,8 +21,7 @@
default-expanded-keys="['64df1d5522bb49c09af6']"
highlight-current
@node-click="treeClick"
:filter-node-method="filterNode"
:expand-on-click-node="false">
:filter-node-method="filterNode">
<span class="custom-tree-node" slot-scope="{ node, data }" @mouseenter="mouseenter(data)" @mouseleave="mouseleave(data)">
<span :class="data.children.length !== 0 ? 'is-show' : 'is-leaf-none'"></span>
<span style="font-size:12px"> {{ node.label }} </span>