From 1dd30dbd0828665045aa77c5076f8a96e8469278 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Sat, 21 Oct 2023 14:08:47 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=B3=A8=E9=87=8Aconsole=E8=BE=93?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/BasicLayout.vue | 1 - src/plugins/http-fetch.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/layouts/BasicLayout.vue b/src/layouts/BasicLayout.vue index d2eca5cd..dcba42a9 100644 --- a/src/layouts/BasicLayout.vue +++ b/src/layouts/BasicLayout.vue @@ -137,7 +137,6 @@ let serverTime = reactive({ // 获取服务器时间 function fnGetServerTime() { getServerTime().then(res => { - console.log(res.data); if (res.code === RESULT_CODE_SUCCESS && res.data) { // 时间戳 serverTime.timestamp = parseInt(res.data.timestamp); diff --git a/src/plugins/http-fetch.ts b/src/plugins/http-fetch.ts index 9b933c77..59e1e4a9 100644 --- a/src/plugins/http-fetch.ts +++ b/src/plugins/http-fetch.ts @@ -180,7 +180,7 @@ function beforeRequest(options: OptionsType): OptionsType | Promise { /**请求后的拦截 */ function interceptorResponse(res: ResultType): ResultType | Promise { - console.log('请求后的拦截', res); + // console.log('请求后的拦截', res); // 登录失效时,移除授权令牌并重新刷新页面 if (res.code === 401) {