Skip to content

Commit

Permalink
fix: nig-796
Browse files Browse the repository at this point in the history
  • Loading branch information
huangbinjie committed May 10, 2024
1 parent 3f53af8 commit 4e57e77
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/service/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,6 @@ class RequestHttp {
if (error.message.indexOf('timeout') !== -1) {
toaster.error(toaster.ToastMessage.REQUEST_TIMEOUT_RETRY);
}
if (error.message.indexOf('Network Error') !== -1) {
toaster.error(toaster.ToastMessage.NETWORK_ERROR_RETRY);
}
// 根据服务器响应的错误状态码,做不同的处理
if (response) {
checkStatus(response.status);
Expand Down

0 comments on commit 4e57e77

Please sign in to comment.