feat(router): 移除首页路由的权限控制
- 删除了 /home 路由的 meta 字段,移除了 requiresAuth: true 的设置 - 此修改使得用户无需认证即可访问首页
This commit is contained in:
@@ -14,8 +14,7 @@ const routes = [
|
|||||||
{
|
{
|
||||||
path: '/home',
|
path: '/home',
|
||||||
name: 'Home',
|
name: 'Home',
|
||||||
component: HomePage,
|
component: HomePage
|
||||||
meta: { requiresAuth: true }
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/login',
|
path: '/login',
|
||||||
|
|||||||
Reference in New Issue
Block a user