对接统一登录认证

This commit is contained in:
wangjianhong
2025-07-23 22:17:47 +08:00
parent 5e4e272b3a
commit e7442ae419
48 changed files with 2940 additions and 3067 deletions

View File

@@ -36,7 +36,15 @@ export const constantRoutes = [
component: () => import('@/views/login/index'),
hidden: true
},
{
path: '/social',
component: () => import('@/views/login/social/index.vue'),
hidden: true
}, {
path: '/callback',
component: () => import('@/views/login/social/callback.vue'),
hidden: true
},
{
path: '/404',
component: () => import('@/views/404'),
@@ -80,8 +88,8 @@ export const constantRoutes = [
]
const createRouter = () => new Router({
// mode: 'history', // require service support
mode: 'hash',
mode: 'history', // require service support
// mode: 'hash',
scrollBehavior: () => ({ y: 0 }),
routes: constantRoutes
})