把不需要执行的代码放入判断内
//删除文件之前 beforeRemove(file, fileList) { if (file && file.status==="success") { ...... } }, //删除文件 handleRemove(file, fileList) { if (file && file.status==="success") { ...... } },