From 746af87fdcff51b559cbe7f329796f8eaf15d201 Mon Sep 17 00:00:00 2001 From: jqtmviyu Date: Mon, 27 Mar 2023 19:22:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E6=8E=89=E8=B0=83=E8=AF=95?= =?UTF-8?q?=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/login.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/login.js b/js/login.js index 7a6a1d9..7110ba1 100644 --- a/js/login.js +++ b/js/login.js @@ -25,9 +25,9 @@ const login = async oldConfig => { maxRedirects: 0, timeout: 10000, }) - console.log('res', res) + // console.log('res', res) if (res.status == 200) { - console.log('res.data.msg', res.data.msg) + // console.log('res.data.msg', res.data.msg) let cookieObj = {} const setCookie = res.headers['set-cookie'] // array setCookie.forEach(item => { @@ -44,7 +44,7 @@ const login = async oldConfig => { if (newConfig.headers.expire_in) { newConfig.headers['expire_in'] = cookieObj['expire_in'] } - console.log('newConfig', newConfig) + // console.log('newConfig', newConfig) updateConfig(newConfig) // 异步更新 return newConfig }