This commit is contained in:
@@ -45,7 +45,7 @@ const errorNotification = ({ code, message }) => {
|
||||
case Array:
|
||||
message.map(p => {
|
||||
app.$notification.error({
|
||||
duration: 30000,
|
||||
duration: 30,
|
||||
message: p.field,
|
||||
description: p.messages.join('/'),
|
||||
})
|
||||
@@ -53,7 +53,7 @@ const errorNotification = ({ code, message }) => {
|
||||
break
|
||||
default:
|
||||
app.$notification.error({
|
||||
duration: 30000,
|
||||
duration: 30,
|
||||
message: code || '错误',
|
||||
description: message,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user