Browse Source
- 在路由配置中添加了 beforeEach 守卫,用于检查用户登录状态 - 如果用户未登录且目标路由不是登录页,将重定向到登录页 - 移除了部分注释代码,清理了路由配置master
1 changed files with 175 additions and 166 deletions
Loading…
Reference in new issue