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