石广澎
2023-12-12 fa3a13b43cdcd3bcc42abae4d9c0a67e48ebea41
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) {