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
+2 -2
View File
@@ -150,10 +150,10 @@ export default {
this.loadData()
this.$message.success(`${info.file.name} 上传成功!`)
} else {
this.$message.error(`${info.file.response.message}`)
this.$message.warning(`${info.file.response.message}`)
}
} else if (info.file.status === 'error') {
this.$message.error(`${info.file.response.message}`)
this.$message.warning(`${info.file.response.message}`)
}
},
ossDelete (id) {