恢复 SSO 界面的路由
This commit is contained in:
parent
04e83e268a
commit
e2a08ddbac
@ -185,6 +185,16 @@ const remainingRouter: AppRouteRecordRaw[] = [
|
||||
noTagsView: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/sso',
|
||||
component: () => import('@/views/Login/Login.vue'),
|
||||
name: 'SSOLogin',
|
||||
meta: {
|
||||
hidden: true,
|
||||
title: t('router.login'),
|
||||
noTagsView: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/social-login',
|
||||
component: () => import('@/views/Login/SocialLogin.vue'),
|
||||
@ -333,7 +343,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
|
||||
{
|
||||
path: '/mall/product', // 商品中心
|
||||
component: Layout,
|
||||
name: 'Product',
|
||||
name: 'ProductCenter',
|
||||
meta: {
|
||||
hidden: true
|
||||
},
|
||||
@ -395,7 +405,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
|
||||
{
|
||||
path: '/mall/trade', // 交易中心
|
||||
component: Layout,
|
||||
name: 'Trade',
|
||||
name: 'TradeCenter',
|
||||
meta: {
|
||||
hidden: true
|
||||
},
|
||||
@ -417,7 +427,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
|
||||
{
|
||||
path: '/member',
|
||||
component: Layout,
|
||||
name: 'member',
|
||||
name: 'MemberCenter',
|
||||
meta: { hidden: true },
|
||||
children: [
|
||||
{
|
||||
|
@ -55,7 +55,7 @@
|
||||
<!-- 注册 -->
|
||||
<RegisterForm class="m-auto h-auto p-20px lt-xl:(rounded-3xl light:bg-white)" />
|
||||
<!-- 三方登录 -->
|
||||
<!-- <SSOLoginVue class="m-auto h-auto p-20px lt-xl:(rounded-3xl light:bg-white)" /> -->
|
||||
<SSOLoginVue class="m-auto h-auto p-20px lt-xl:(rounded-3xl light:bg-white)" />
|
||||
</div>
|
||||
</Transition>
|
||||
</div>
|
||||
@ -70,7 +70,7 @@ import { useAppStore } from '@/store/modules/app'
|
||||
import { ThemeSwitch } from '@/layout/components/ThemeSwitch'
|
||||
import { LocaleDropdown } from '@/layout/components/LocaleDropdown'
|
||||
|
||||
import { LoginForm, MobileForm, QrCodeForm, RegisterForm } from './components'
|
||||
import { LoginForm, MobileForm, QrCodeForm, RegisterForm, SSOLoginVue } from './components'
|
||||
|
||||
defineOptions({ name: 'Login' })
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user