From fe2a9a69bc885f88433959a848598ce8b118fb00 Mon Sep 17 00:00:00 2001 From: wyx <51903@qq.com> Date: Fri, 17 Mar 2023 12:54:32 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:returnUrl=E9=85=8D=E7=BD=AE=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/config.js b/src/api/config.js index f7faae2f..d2d9e197 100644 --- a/src/api/config.js +++ b/src/api/config.js @@ -60,7 +60,7 @@ http.interceptors.response.use( if (code === 1000) { (process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'alpine') ? router.push({path: 'login', query: { returnUrl: router.currentRoute.value.fullPath }}) : - (window.location.href = process.env.VUE_APP_LOGIN_URL + encodeURIComponent(window.location.protocol + import.meta.env.VUE_APP_BOE_API_URL + import.meta.env.VUE_APP_BASE + router.currentRoute.value.fullPath)) + (window.location.href = process.env.VUE_APP_LOGIN_URL + encodeURIComponent(window.location.protocol + process.env.VUE_APP_BOE_API_URL + process.env.VUE_APP_BASE + router.currentRoute.value.fullPath)) return Promise.reject(response); } show && message.error(msg); From ff93d6819c35475cd9f5475f56a266d99560f984 Mon Sep 17 00:00:00 2001 From: wyx <51903@qq.com> Date: Fri, 17 Mar 2023 13:01:38 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=E5=AD=A6=E4=B9=A0=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/learningpath/LearningPath.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/learningpath/LearningPath.vue b/src/views/learningpath/LearningPath.vue index 142de566..9e16c8d1 100644 --- a/src/views/learningpath/LearningPath.vue +++ b/src/views/learningpath/LearningPath.vue @@ -100,7 +100,7 @@ >