diff --git a/src/components/TreePanel.vue b/src/components/TreePanel.vue index b0f8b9f..09d11bf 100644 --- a/src/components/TreePanel.vue +++ b/src/components/TreePanel.vue @@ -4,16 +4,13 @@ class="modal-drag"> 节点树 - - - + :expand-on-click-node="false" :default-expanded-keys="expandedKeys" @current-change="handleCurrentNodeChange" + @node-expand="handleNodeExpand" @node-collapse="handleNodeCollapse" :height="treeViewHeight"> + +