diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts
index f955b36b..aa260cf1 100644
--- a/src/router/modules/remaining.ts
+++ b/src/router/modules/remaining.ts
@@ -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: [
{
diff --git a/src/views/Login/Login.vue b/src/views/Login/Login.vue
index d1a5e7f5..19ffe2d7 100644
--- a/src/views/Login/Login.vue
+++ b/src/views/Login/Login.vue
@@ -55,7 +55,7 @@
-
+
@@ -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' })