fujunling
2023-07-05 f9c5d6c45ccefd2e4a9926284e25c04586ed4dd3
Source/UBCS-WEB/src/components/BatchImport/ShowImportData.vue
@@ -199,6 +199,7 @@
      type: String,
      default: "",
    },
    type: String
  },
  computed: {
    dialogVisible: {
@@ -322,6 +323,15 @@
    filterText(val) {
      this.$refs.tree.filter(val);
    },
    leftTree: {
      immediate: true,
      deep: true,
      handler(arr) {
        if (arr.length > 0 && this.type === 'batchImportApply') {
          this.treeNodeClick(arr[0])
        }
      }
    }
  },
};
</script>