Explorar el Código

Update fetch.js

花裤衩 %!s(int64=7) %!d(string=hace) años
padre
commit
115b2b0f7d
Se han modificado 1 ficheros con 1 adiciones y 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
     }