Explorar o código

Update fetch.js

花裤衩 %!s(int64=7) %!d(string=hai) anos
pai
achega
115b2b0f7d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/utils/fetch.js

+ 1 - 1
src/utils/fetch.js

@@ -48,7 +48,7 @@ service.interceptors.response.use(
48 48
           });
49 49
         })
50 50
       }
51
-      return Promise.reject(error);
51
+      return Promise.reject('error');
52 52
     } else {
53 53
       return response.data;
54 54
     }