From 045eec256676131678129da27f5d5aca318ca5db Mon Sep 17 00:00:00 2001 From: Lei OT Date: Mon, 3 Jun 2024 16:49:57 +0800 Subject: [PATCH] =?UTF-8?q?request=20=E5=A4=84=E7=90=86errcode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/request.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/request.js b/src/utils/request.js index 3c92226..de0eafa 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -83,6 +83,7 @@ export function fetchJSON(url, data = {}) { } }).then(checkStatus) .then(response => response.json()) + .then(checkBizCode) .catch(error => { throw error; });