auto jump to mobile page when use mobile device access the page

This commit is contained in:
RockYang
2024-10-04 11:25:01 +08:00
parent 4861dd75be
commit 471017657f
8 changed files with 27 additions and 26 deletions

View File

@@ -249,6 +249,18 @@ const routes = [
},
{
name: 'mobile-login',
path: '/mobile/login',
meta: {title: '用户登录'},
component: () => import('@/views/Login.vue'),
},
{
name: 'mobile-register',
path: '/mobile/register',
meta: {title: '用户注册'},
component: () => import('@/views/Register.vue'),
},
{
name: 'mobile',
path: '/mobile',