cfort 2 жил өмнө
parent
commit
c4e1a8f537

+ 4 - 7
src/business/platform/file/uploader/upload.vue

@@ -280,13 +280,10 @@
             handleRemoteRemove(ids, callback) {
                 // 删除附件文件
                 deleteFile({ attachmentIds: ids }).then(() => {
-                    // 删除附件记录
-                    remove({ attachmentIds: ids }).then(() => {
-                        const _this = this
-                        // this.fileList = []
-                        callback(_this)
-                    }).catch(() => {})
-                })
+                    const _this = this
+                    // this.fileList = []
+                    callback(_this)
+                }).catch(() => {})
             },
             handlePreview(file) {
                 this.dialogVisible = true