Commit 4558bee6 authored by 前端-许佳敏's avatar 前端-许佳敏

修改接口超时显示文案

parent a96ed87d
......@@ -48,7 +48,7 @@ const errorHandler = (error: ResponseError): IRequestError => {
message.error('http请求错误: ' + response.status + '->' + messageText, 3)
} else {
// 请求超时, 会造成没有response
message.error('请求错误')
message.error('请求超时')
}
// throw可令响应promise走catch, 如需走resolve需直接return
throw {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment