refactor: 完善三方账号登录

This commit is contained in:
2024-04-27 20:28:21 +08:00
parent c938028d8d
commit f701ca57d1
4 changed files with 52 additions and 26 deletions

View File

@@ -4,7 +4,7 @@ import { getToken } from '@/utils/auth'
import { isHttp } from '@/utils/validate'
/** 免登录白名单 */
const whiteList = ['/login', '/register']
const whiteList = ['/login', '/social/callback']
/** 是否已经生成过路由表 */
let hasRouteFlag = false