魏超 5 lat temu
rodzic
commit
9571f9f3ed
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4
    4
      src/utils/request.js

+ 4
- 4
src/utils/request.js Wyświetl plik

86
       if (code != 1000) {
86
       if (code != 1000) {
87
         if (code === 1001) {
87
         if (code === 1001) {
88
           notification.error({
88
           notification.error({
89
-            message: `请求错误`,
90
-            description: '请登录系统',
89
+            message: `请登录系统`,
90
+            // description: '请登录系统',
91
           });
91
           });
92
           throw new Error('请登录系统');
92
           throw new Error('请登录系统');
93
         } else {
93
         } else {
94
           notification.error({
94
           notification.error({
95
-            message: `请求错误`,
96
-            description: message,
95
+            message: `请登录系统`,
96
+            // description: message,
97
           });
97
           });
98
           throw new Error(message);
98
           throw new Error(message);
99
         }
99
         }