From 9eeb62c02a7b3c7b95c20678b6a9c74e7f12f943 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 01 七月 2026 18:15:10 +0800
Subject: [PATCH] Merge branch '3.0.1' of http://139.186.142.91:10010/r/productDev/parkBike 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