update $message.error全局改成$message.warning
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user