From 609a1931953b2298016bd2b0d6b410666b5ad7b9 Mon Sep 17 00:00:00 2001
From: rk <94314517@qq.com>
Date: 星期四, 02 七月 2026 09:19:15 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/3.0.1' into 3.0.1
---
admin/src/views/login.vue | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/admin/src/views/login.vue b/admin/src/views/login.vue
index 2d43122..1fde473 100644
--- a/admin/src/views/login.vue
+++ b/admin/src/views/login.vue
@@ -73,12 +73,10 @@
code: this.captcha.value.trim(),
uuid: this.captcha.uuid
})
- .then(() => {
- window.location.href = process.env.VUE_APP_CONTEXT_PATH
- })
- .catch(e => {
- this.refreshCaptcha()
- this.$tip.apiFailed(e)
+ .then((res) => {
+ if (res) {
+ window.location.href = process.env.VUE_APP_CONTEXT_PATH
+ }
})
.finally(() => {
this.loading = false
--
Gitblit v1.9.3