Browse Source

文件展示

liuxiangqi 1 year ago
parent
commit
c6440674ab
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/views/enterprise/ent/edit.vue

+ 1 - 2
src/views/enterprise/ent/edit.vue

@@ -635,7 +635,7 @@ export default {
         this.list.map(item => {
           item.name = item.fileName
         })
-        this.form.fileList = this.list
+        this.$set(this.form, 'fileList', this.list)
       })
     },
     handleUpload() {
@@ -755,7 +755,6 @@ export default {
           }).then(function() {
             return deleteEnclosureApi(id);
           }).then(() => {
-            this.getEnclosureData()
             this.$modal.msgSuccess("删除成功");
           })
         }