From 2220b1f78addcb95c2fceb0a792cb3b74f70e1af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=AD=9F?= <3111696955@qq.com> Date: Fri, 8 Aug 2025 17:22:53 +0800 Subject: [PATCH] =?UTF-8?q?feat(router):=20=E7=A7=BB=E9=99=A4=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E8=B7=AF=E7=94=B1=E7=9A=84=E6=9D=83=E9=99=90=E6=8E=A7?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除了 /home 路由的 meta 字段,移除了 requiresAuth: true 的设置 - 此修改使得用户无需认证即可访问首页 --- biji-qianduan/src/router/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/biji-qianduan/src/router/index.js b/biji-qianduan/src/router/index.js index 8b7725f..cd70176 100644 --- a/biji-qianduan/src/router/index.js +++ b/biji-qianduan/src/router/index.js @@ -14,8 +14,7 @@ const routes = [ { path: '/home', name: 'Home', - component: HomePage, - meta: { requiresAuth: true } + component: HomePage }, { path: '/login',