release(custom): i

This commit is contained in:
2023-10-10 15:16:06 +08:00
parent 5d1b96be72
commit a95a8ac0d1
50 changed files with 15273 additions and 4752 deletions

View File

@@ -11,6 +11,9 @@ export function createPermissionGuard(router) {
return { path: 'login', query: { ...to.query, redirect: to.path } }
}
/** 单点登录的情况 */
if (to.query.tk) return true
/** 有token的情况 */
if (to.path === '/login') return { path: '/' }