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 @@