From aab6a7b8d43339480cbf0b33ea1309fd901dafdb Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期二, 10 六月 2025 15:03:47 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/2.0.1' into 2.0.1
---
company/src/views/login.vue | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/company/src/views/login.vue b/company/src/views/login.vue
index d777989..711fe0a 100644
--- a/company/src/views/login.vue
+++ b/company/src/views/login.vue
@@ -155,7 +155,11 @@
uuid: this.captcha.uuid
})
.then(() => {
- window.location.href = process.env.VUE_APP_CONTEXT_PATH
+ console.log( `==================${window.location.origin}`)
+ console.log( `==================${window.location.port}`)
+ console.log( `==================${window.location.origin}${process.env.VUE_APP_CONTEXT_PATH}`)
+ console.log( `==================${window.location.origin}:${window.location.port}${process.env.VUE_APP_CONTEXT_PATH}`)
+ window.location.href = `${window.location.origin}${process.env.VUE_APP_CONTEXT_PATH}/#/index`
})
.catch(e => {
this.refreshCaptcha()
@@ -179,7 +183,11 @@
code: this.code.trim()
})
.then(() => {
- window.location.href = process.env.VUE_APP_CONTEXT_PATH
+ console.log( `==================${window.location.origin}`)
+ console.log( `==================${window.location.port}`)
+ console.log( `==================${window.location.origin}${process.env.VUE_APP_CONTEXT_PATH}`)
+ console.log( `==================${window.location.origin}:${window.location.port}${process.env.VUE_APP_CONTEXT_PATH}`)
+ window.location.href = `${window.location.origin}${process.env.VUE_APP_CONTEXT_PATH}/#/index`
})
.catch(e => {
this.$tip.apiFailed(e)
--
Gitblit v1.9.3