this is the back-end API for deleting tones. After uploading multiple images, and then deleting a certain one immediately, it always reports that the media file does not exist. It can only be deleted after refreshing. And after multiple images are uploaded successfully, the backend also returns id, to ask how to solve this problem
/ / delete pictures and videos related to medical records
deleteMedRecord(file, fileList) {
http.post(this.$api.postDeleteMedRecord, {
reg_id: this.medRecord.reg_id,
media_id_list: [file.id]
})
}