@@ -43,7 +43,7 @@ router.beforeEach(async (to, from, next) => {
// next()
}
} else {
- if (to.meta?.loginType === 'noLogin') { // 页面不需要登录
+ if (to.meta?.loginType === 'noLogin' || to.meta?.loginType === 'common') { // 页面不需要登录
next()
next(`/login?redirect=${to.fullPath}`) // 否则全部重定向到登录页