From 64846b9122c5e5ca1724e2557c14bbb0b12cd128 Mon Sep 17 00:00:00 2001 From: QI_YUJIE <2878090898@qq.com> Date: Wed, 12 Apr 2023 14:42:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=90=8C=E7=BD=91=E7=AD=BE=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/sunVillage_info/list_cbht.vue | 2 ++ src/views/sunVillage_info/list_multipleLots.vue | 9 ++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/sunVillage_info/list_cbht.vue b/src/views/sunVillage_info/list_cbht.vue index 62c4ddb4..fc1fcf5d 100644 --- a/src/views/sunVillage_info/list_cbht.vue +++ b/src/views/sunVillage_info/list_cbht.vue @@ -195,6 +195,8 @@ params.append("file", file.file); commonAttach(params).then(response => { this.$notify({ type: 'success', message: '上传成功' }); + let newFile = this.fileList[this.fileList.length - 1]; + this.$set(newFile, 'id', response.id); }); }, deleteFile(file){ diff --git a/src/views/sunVillage_info/list_multipleLots.vue b/src/views/sunVillage_info/list_multipleLots.vue index d82309bb..29ca1049 100644 --- a/src/views/sunVillage_info/list_multipleLots.vue +++ b/src/views/sunVillage_info/list_multipleLots.vue @@ -86,16 +86,13 @@