From 63fea2990e587837ed3dde2b9ac8f2b4ef729672 Mon Sep 17 00:00:00 2001
From: yearning <10538594+wangweifeng1999@user.noreply.gitee.com>
Date: 星期四, 28 五月 2026 10:02:01 +0800
Subject: [PATCH] 考点核验+签到

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

diff --git a/src/views/h5/login/index.vue b/src/views/h5/login/index.vue
index 86af36f..57ef81a 100644
--- a/src/views/h5/login/index.vue
+++ b/src/views/h5/login/index.vue
@@ -35,6 +35,7 @@
 import { useLoginStore } from '@/stores/login.js'
 import { storeToRefs } from 'pinia';
 import { isWeixin } from '@/utils/UA.js'
+import cityItems from '@/assets/json/cityItems.json'
 export default {
   setup() {
     const { lastRouteInfo } = storeToRefs(useLoginStore())
@@ -54,7 +55,6 @@
     }
   },
   created() {
-    
     tokenUtils.clearTokens()
     this.loginType = isWeixin ? 'weixin' : 'mobilePhone'
     if (isWeixin) {
@@ -110,7 +110,7 @@
       }
     },
     login() {
-      const data = {
+      let data = {
         mobile: this.form.mobile,
         code: this.form.code,
       }
@@ -120,7 +120,7 @@
           const resData = res.data.data
           tokenUtils.setTokens(resData.accessToken, resData.refreshToken)
           this.$message.success('鐧诲綍鎴愬姛')
-          const path = localStorage.getItem('verify_url')
+          const path = localStorage.getItem('_enterUrl')
           if (path) {
             this.$router.replace(path)
           }

--
Gitblit v1.8.0