石广澎
2023-12-13 3c9c1a4f8ccbf765c35e44b21c790ef428e12868
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) {