From 50d6f00fdb228d67340a7e006f8f9b267f272e3b Mon Sep 17 00:00:00 2001 From: daihh Date: Mon, 28 Nov 2022 11:30:31 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=96=B0=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E8=AF=BB=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/boe/boeAjax.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/api/boe/boeAjax.js b/src/api/boe/boeAjax.js index e4420088..728435d2 100644 --- a/src/api/boe/boeAjax.js +++ b/src/api/boe/boeAjax.js @@ -47,9 +47,7 @@ const formRequest=axios.create({ Promise.reject(error) }); formRequest.interceptors.response.use(res => { - console.log(res); - res.data=JSON.parse(res.data); - + console.log(res); const code = res.data.status || 200; if(code===200){ return res.data