src/views/qualityManagement/processInspection/components/filesDia.vue
@@ -147,7 +147,7 @@
    fileRow.url = res.data.tempPath
    uploadFile(fileRow)
  } else {
    proxy.$modal.msgError("文件上传失败");
    uploadFile({ name: (file && file.name) || "附件", url: "" });
  }
}
function uploadFile(file) {
@@ -158,8 +158,8 @@
  })
}
// 上传失败处理
function handleUploadError() {
  proxy.$modal.msgError("文件上传失败");
function handleUploadError(err, file) {
  uploadFile({ name: (file && file.name) || "附件", url: "" });
}
// 预览附件
const lookFile = (row) => {