Jelajahi Sumber

删除文件接口修改

cfort 2 tahun lalu
induk
melakukan
c4e1a8f537
1 mengubah file dengan 4 tambahan dan 7 penghapusan
  1. 4 7
      src/business/platform/file/uploader/upload.vue

+ 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