From 38712ae83223cb244020e255fc37e1ce35775c45 Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期四, 09 四月 2026 13:53:40 +0800
Subject: [PATCH] 优化

---
 src/views/h5/login/index.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/views/h5/login/index.vue b/src/views/h5/login/index.vue
index f434649..86af36f 100644
--- a/src/views/h5/login/index.vue
+++ b/src/views/h5/login/index.vue
@@ -54,10 +54,12 @@
     }
   },
   created() {
+    
     tokenUtils.clearTokens()
     this.loginType = isWeixin ? 'weixin' : 'mobilePhone'
     if (isWeixin) {
       this.loginType = 'weixin'
+      localStorage.removeItem('weChatRedirectCount')
       this.$router.replace({ path: '/h5/redirect' })
     }
   },
@@ -92,7 +94,7 @@
         const data = {
           captchaVerification: '',
           mobile: this.form.mobile,
-          scene: 21,
+          scene: 31,
         }
         this.sendCodeLoading = true
         this.$axios.post('/system/auth/send-sms-code', data).then(res => {

--
Gitblit v1.8.0