From c3c3fe919937db7e55cb23e2b57000d573be8c14 Mon Sep 17 00:00:00 2001 From: gongjiale <942894820@qq.com> Date: Tue, 22 Nov 2022 11:22:00 +0800 Subject: [PATCH] =?UTF-8?q?UI=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/utils/request.js | 4 ---- front/src/views/home/AbilityToApplyFor.vue | 4 ++-- front/src/views/home/DetailsPageconetent.vue | 3 ++- front/src/views/home/apply.vue | 1 - .../home/components/searchResultList.vue | 23 ++++++++++--------- 5 files changed, 16 insertions(+), 19 deletions(-) diff --git a/front/src/utils/request.js b/front/src/utils/request.js index dfcce28a..282c6e97 100644 --- a/front/src/utils/request.js +++ b/front/src/utils/request.js @@ -23,10 +23,8 @@ let loadingInstance * @param {*} msg */ const handleCode = (code, msg, res) => { - // debugger switch (code) { case 401: - debugger store.dispatch('user/resetAll').catch(() => {}) break case 403: @@ -66,7 +64,6 @@ const instance = axios.create({ */ instance.interceptors.request.use( (config) => { - // debugger const token = getAccessToken() if (token) config.headers[tokenName] = token if ( @@ -157,7 +154,6 @@ instance.interceptors.response.use( // } }, (error) => { - // debugger console.log('接口error', error) if (loadingInstance) loadingInstance.close() diff --git a/front/src/views/home/AbilityToApplyFor.vue b/front/src/views/home/AbilityToApplyFor.vue index dd1f572c..6a838ab7 100644 --- a/front/src/views/home/AbilityToApplyFor.vue +++ b/front/src/views/home/AbilityToApplyFor.vue @@ -267,7 +267,7 @@