chore: 优化未知错误提示语

This commit is contained in:
2024-04-09 21:41:51 +08:00
parent 20184c6e01
commit 3f1ecef75d

View File

@@ -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)