|
@@ -45,16 +45,23 @@ const remainingRouter = [
|
|
|
},
|
|
|
{
|
|
|
path: '',
|
|
|
- component: Layout,
|
|
|
- redirect: '/home',
|
|
|
+ redirect: '/entrances',
|
|
|
children: [
|
|
|
+ { path: '/', redirect: '/entrances' },
|
|
|
{
|
|
|
- path: '/personal',
|
|
|
- redirect: '/home',
|
|
|
+ path: '/entrances',
|
|
|
+ component: () => import('@/views/entrances/index'),
|
|
|
meta: {
|
|
|
- title: '首页'
|
|
|
+ title: '门墩儿应用中心'
|
|
|
}
|
|
|
- },
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/home',
|
|
|
+ component: Layout,
|
|
|
+ children: [
|
|
|
+ { path: '/personal', redirect: '/home' },
|
|
|
{
|
|
|
path: '/home',
|
|
|
component: () => import('@/views/Home/index'),
|
|
@@ -66,7 +73,6 @@ const remainingRouter = [
|
|
|
},
|
|
|
{
|
|
|
path: '/mall',
|
|
|
- // component: Layout,
|
|
|
children: [
|
|
|
{
|
|
|
path: '/mall',
|
|
@@ -77,18 +83,6 @@ const remainingRouter = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- {
|
|
|
- path: '/entrances',
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/entrances',
|
|
|
- component: () => import('@/views/entrances/index'),
|
|
|
- meta: {
|
|
|
- title: '门墩儿应用中心'
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
]
|
|
|
|
|
|
setLoginType(remainingRouter, 'noLogin')
|