From 770753eff2127cc3f67a4f42be761411763d2805 Mon Sep 17 00:00:00 2001 From: Pan Date: Thu, 4 Apr 2019 17:43:12 +0800 Subject: [PATCH] fix[request.js]: fixed missing return --- src/utils/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/request.js b/src/utils/request.js index a9b8c18f..b043c933 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -23,7 +23,7 @@ service.interceptors.request.use( error => { // Do something with request error console.log(error) // for debug - Promise.reject(error) + return Promise.reject(error) } )