From c32fc58a3aab34b8d9303d9698b40c6b1d7c50c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E8=A3=A4=E8=A1=A9?= Date: Wed, 16 Aug 2017 09:57:05 +0800 Subject: [PATCH] Update fetch.js --- src/utils/fetch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/fetch.js b/src/utils/fetch.js index cf15ca75..1befcd59 100644 --- a/src/utils/fetch.js +++ b/src/utils/fetch.js @@ -48,7 +48,7 @@ service.interceptors.response.use( // }); // }) // } -// return Promise.reject(error); +// return Promise.reject('error'); // } else { // return response.data; // }