src/views/Archive/index.vue
@@ -93,6 +93,7 @@ v-model="formInline.depName" :placeholder="$t('archiveObj.label3')" :popper-append-to-body="false" ref="treeSelect" > <el-option :value="formInline.depcode" @@ -1442,7 +1443,11 @@ } }; }, watch: { "formInline.depName"() { this.$refs.treeSelect.visible = false; }, }, mounted() { this.getDepTreeData(); this.getCategorySelectData();