From 8767d3a583a136a1ac1e04d773fbed3828c1e86c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Fri, 27 Dec 2024 18:12:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9C=8B=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/request.js | 1 - src/views/cs/index4.vue | 21 ++++++++++----------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/src/utils/request.js b/src/utils/request.js index 8099fad..2dac191 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -25,7 +25,6 @@ const service = axios.create({ service.interceptors.request.use(config => { if(localStorage.getItem('USER_POOL_NAME_CURRENT')){ config.headers['poolName'] = config.header?.PoolName || localStorage.getItem('USER_POOL_NAME_CURRENT'); - console.log(config.headers['poolName']) } // 是否需要设置 token const isToken = (config.headers || {}).isToken === false diff --git a/src/views/cs/index4.vue b/src/views/cs/index4.vue index ccacc91..8cbc082 100644 --- a/src/views/cs/index4.vue +++ b/src/views/cs/index4.vue @@ -54,9 +54,9 @@