"vue":"^2.5.2","element-ui":"^2.2.1",removeTheme(file,fileList){req_removeTheme({id:file.id}).then(res=>{this.$message.success('删除成功')})},beforeUpload(file){constisMatch=file.type==='image/jpeg'||file.type==='image/jpg'||file.type==='image/png'||file.type==='image/gif'||file.type==='image/bmp'constisLt2M=file.size/1024/1024
2 回答
婷婷同学_
TA贡献1844条经验 获得超8个赞
好像新的才会出现这个问题,试了下可以通过file.status的状态来区分`handleRemove(file,fileList){if(file&&file.status==="success"){//删除}}`
添加回答
举报
0/150
提交
取消