tianyunperfect 5 سال پیش
والد
کامیت
8fae49151b
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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 {status} = response;
 
-    notification.error({
+    notification.info({
       message: `请求错误 ${status}`,
       description: errorText,
     });