mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-11-01 18:57:14 +08:00
refactor: 完善三方账号登录
This commit is contained in:
@@ -48,7 +48,6 @@ export const constantRoutes: RouteRecordRaw[] = [
|
||||
},
|
||||
{
|
||||
path: '/social/callback',
|
||||
name: 'SocialCallback',
|
||||
component: () => import('@/views/login/social/index.vue'),
|
||||
meta: { hidden: true }
|
||||
},
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user