From 726dcd5708627d903bc5f6e1e93fa63d47edc913 Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Mon, 29 Aug 2022 11:17:59 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/archivesManage/archivesList/index.vue | 7 +++++-- src/views/home.vue | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/archivesManage/archivesList/index.vue b/src/views/archivesManage/archivesList/index.vue index 23fe822..5b0d7e3 100644 --- a/src/views/archivesManage/archivesList/index.vue +++ b/src/views/archivesManage/archivesList/index.vue @@ -460,8 +460,8 @@ export default { if (this.$refs.file) { if (localStorage.getItem('noClick')) { this.$refs.file.$refs.table.clearSelection() + this.clearFile() } - this.clearFile() } this.$refs.project.getTableDisplayFields(0) if (this.selectedCategory.children.length !== 0) { @@ -486,6 +486,9 @@ export default { if (this.$refs.anjuan.$refs.table.selection.length !== 0) { this.$refs.anjuan.selections = this.$refs.anjuan.$refs.table.selection this.$refs.file.getTableList() + if (this.$refs.file.$refs.table.selection.length !== 0) { + this.$refs.file.selections = this.$refs.file.$refs.table.selection + } this.isAnjuan = false } else { this.$refs.anjuan.anjuanData = [] @@ -509,8 +512,8 @@ export default { if (this.$refs.file) { if (localStorage.getItem('noClick')) { this.$refs.file.$refs.table.clearSelection() + this.clearFile() } - this.clearFile() } this.$refs.anjuan.getTableDisplayFields(1) if (this.selectedCategory.children.length !== 0) { diff --git a/src/views/home.vue b/src/views/home.vue index 8cdc1ee..220220d 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -64,7 +64,7 @@