mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-09 20:57:17 +08:00
chore: 优化未知错误提示语
This commit is contained in:
@@ -102,7 +102,7 @@ http.interceptors.response.use(
|
|||||||
const response = Object.assign({}, error.response)
|
const response = Object.assign({}, error.response)
|
||||||
response &&
|
response &&
|
||||||
messageErrorWrapper({
|
messageErrorWrapper({
|
||||||
content: StatusCodeMessage[response.status] || '系统异常,请检查网络或联系管理员',
|
content: StatusCodeMessage[response.status] || '服务器暂时未响应,请刷新页面并重试。若无法解决,请联系管理员',
|
||||||
duration: 5 * 1000
|
duration: 5 * 1000
|
||||||
})
|
})
|
||||||
return Promise.reject(error)
|
return Promise.reject(error)
|
||||||
|
Reference in New Issue
Block a user