From 7efcab1b5f8944f605328ff259054caa43ffa9de Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 3 Nov 2017 14:23:14 +0800 Subject: [PATCH] return error always, ref #82 --- src/utils/request.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/request.js b/src/utils/request.js index 5361b242..6ffa7beb 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -47,5 +47,6 @@ export default function request(url, options) { description: error.message, }); } + return error; }); } -- GitLab