fix: 暂存
This commit is contained in:
@@ -20,6 +20,7 @@ function isPublicPath(path: string): boolean {
|
||||
*/
|
||||
function setupCommonGuard(router: Router) {
|
||||
router.beforeEach(async (to) => {
|
||||
return true
|
||||
const accountStore = useAccountStore()
|
||||
|
||||
// 已登录用户访问公开路由(如登录页),直接跳转首页
|
||||
|
||||
Reference in New Issue
Block a user