tianyunperfect 5 years ago
parent
commit
8fae49151b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/utils/request.ts

+ 1 - 1
src/utils/request.ts

@@ -33,7 +33,7 @@ const errorHandler = (error: { response: Response }): Response => {
     const errorText = codeMessage[response.status] || response.statusText;
     const errorText = codeMessage[response.status] || response.statusText;
     const {status} = response;
     const {status} = response;
 
 
-    notification.error({
+    notification.info({
       message: `请求错误 ${status}`,
       message: `请求错误 ${status}`,
       description: errorText,
       description: errorText,
     });
     });