update $message.error全局改成$message.warning

This commit is contained in:
赵霄
2023-10-25 17:32:18 +08:00
parent 0bee8465c2
commit 8d5c6b9380
45 changed files with 119 additions and 87 deletions
@@ -406,7 +406,7 @@ export default {
// 推入表格中
this.dataSource = this.dataSource.concat(info.file.response.result)
} else {
this.$message.error(`${info.file.name} ${info.file.response.message}.`)
this.$message.warning(`${info.file.name} ${info.file.response.message}.`)
}
} else if (info.file.status === 'error') {
// 销毁这个提示
@@ -430,7 +430,7 @@ export default {
})
}
} else {
this.$message.error(`文件上传失败: ${info.file.msg} `)
this.$message.warning(`文件上传失败: ${info.file.msg} `)
}
}
},