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 @@