From c38c1d5dcd6b316dd4d154738a5625739766b3ef Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期四, 11 五月 2023 16:07:56 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.20.39:8989/r/LFWEB_NEW --- src/views/Archive/index.vue | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/views/Archive/index.vue b/src/views/Archive/index.vue index 35cf831..5e0455f 100644 --- a/src/views/Archive/index.vue +++ b/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(); -- Gitblit v1.9.3