Commit 92434003 by ZhengJie

[缺陷修复](v2.5): 修复图床弹窗中删除上传的图片报错的问题

parent cd01e3a2
......@@ -143,7 +143,7 @@ export default {
handleBeforeRemove(file, fileList) {
for (let i = 0; i < this.pictures.length; i++) {
if (this.pictures[i].uid === file.uid) {
crudPic.del(this.pictures[i].id).then(res => {})
crudPic.del(Array.of(this.pictures[i].id)).then(res => {})
return true
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment