update $message.error全局改成$message.warning
This commit is contained in:
@@ -217,7 +217,7 @@ export default {
|
||||
return that.Logout({}).then(() => {
|
||||
window.location.replace('/user/login')
|
||||
}).catch(err => {
|
||||
that.$message.error({
|
||||
that.$message.warning({
|
||||
title: '错误',
|
||||
description: err.message
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user