admin-web/src/components/myTree/index.vue
@@ -23,6 +23,7 @@ @node-click='onSelect' :expand-on-click-node='false' :default-expand-all='autoExpandParent' :default-expanded-keys="expandedKeys" :filter-node-method='filterNode' :highlight-current='true' > @@ -80,7 +81,7 @@ }, methods: { onExpand(expandedKeys) { this.expandedKeys = expandedKeys; this.expandedKeys.push(expandedKeys.id); this.autoExpandParent = false; }, filterNode(value, data) {