futian.liu
2023-12-22 3e9a4b3480e6508f3c6f7ac8723509d8b1120d20
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) {