mirror of https://gitee.com/pnoker/dc3-web.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
2.3 KiB
83 lines
2.3 KiB
import Index from '@/views/layout/index'
|
|
|
|
export default [
|
|
{
|
|
path: '/',
|
|
redirect: '/home',
|
|
component: Index,
|
|
children: [
|
|
{
|
|
name: 'home',
|
|
path: '/home',
|
|
meta: {
|
|
isAuth: true
|
|
},
|
|
component: () => import('@/views/home/Home')
|
|
}, {
|
|
name: 'driver',
|
|
path: '/driver',
|
|
meta: {
|
|
isAuth: true
|
|
},
|
|
component: () => import('@/views/driver/Driver')
|
|
}, {
|
|
name: 'template',
|
|
path: '/template',
|
|
meta: {
|
|
isAuth: true
|
|
},
|
|
component: () => import('@/views/template/Template')
|
|
}, {
|
|
name: 'things',
|
|
path: '/things',
|
|
meta: {
|
|
isAuth: true
|
|
},
|
|
component: () => import('@/views/things/Things')
|
|
}, {
|
|
name: 'now',
|
|
path: '/now',
|
|
meta: {
|
|
isAuth: true
|
|
},
|
|
component: () => import('@/views/Now')
|
|
}, {
|
|
name: 'history',
|
|
path: '/history',
|
|
meta: {
|
|
isAuth: true
|
|
},
|
|
component: () => import('@/views/History')
|
|
}, {
|
|
name: 'alarm',
|
|
path: '/alarm',
|
|
meta: {
|
|
isAuth: true
|
|
},
|
|
component: () => import('@/views/Alarm')
|
|
}, {
|
|
name: 'point',
|
|
path: '/point',
|
|
meta: {
|
|
isAuth: true
|
|
},
|
|
component: () => import('@/views/point/Point')
|
|
}, {
|
|
name: 'video',
|
|
path: '/video',
|
|
meta: {
|
|
isAuth: true
|
|
},
|
|
component: () => import('@/views/Video')
|
|
}, {
|
|
name: 'about',
|
|
path: '/about',
|
|
meta: {
|
|
isAuth: true
|
|
},
|
|
component: () => import('@/views/About')
|
|
}
|
|
]
|
|
}
|
|
]
|