From 9a6cd220224fd3a9a6c84b5bb37c6410a470969f Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 17 三月 2026 17:53:21 +0800
Subject: [PATCH] 考点核验

---
 src/router/index.js |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index 3b466f4..899675b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -3,7 +3,6 @@
 import errorPage from '@/router/error/index.js'
 import mainPage from '@/router/main/index.js'
 import h5 from '@/router/h5/router.js'
-import { useLoginStore } from '@/stores/login.js'
 
 const router = createRouter({
   history: createWebHistory(import.meta.env.BASE_URL),
@@ -11,7 +10,6 @@
 })
 
 router.beforeEach((to, from, next) => {
-  const { setLastRouteInfo } = useLoginStore()
   if (!to.matched.length) {
     if (to.path === '/') {
       next({ path: '/main/home' })
@@ -19,9 +17,6 @@
       next({ path: '/error/404', query: { errorUrl: to.path } })
     }
   } else {
-    if (from.name) {
-      setLastRouteInfo(from)
-    }
     next()
   }
 })

--
Gitblit v1.8.0