feat 交通大屏
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(import.meta.env.BASE_URL),
|
||||
routes: [
|
||||
@@ -8,21 +7,21 @@ const router = createRouter({
|
||||
name: 'home',
|
||||
component: () => import('@/views/home/index.vue')
|
||||
},
|
||||
{
|
||||
path: '/monitor',
|
||||
name: 'monitor',
|
||||
component: () => import('../views/monitor/index.vue')
|
||||
},
|
||||
{
|
||||
path: '/sceneTesting',
|
||||
name: 'sceneTesting',
|
||||
component: () => import('../views/testing/index.vue')
|
||||
},
|
||||
{
|
||||
path: '/roadTesting',
|
||||
name: 'roadTesting',
|
||||
component: () => import('../views/testing/road.vue')
|
||||
},
|
||||
{
|
||||
path: '/monitor',
|
||||
name: 'monitor',
|
||||
component: () => import('../views/monitor/index.vue')
|
||||
},
|
||||
{
|
||||
path: '/sceneTesting',
|
||||
name: 'sceneTesting',
|
||||
component: () => import('../views/testing/index.vue')
|
||||
},
|
||||
{
|
||||
path: '/roadTesting',
|
||||
name: 'roadTesting',
|
||||
component: () => import('../views/testing/road.vue')
|
||||
},
|
||||
{
|
||||
path: '/scenic',
|
||||
name: 'scenic',
|
||||
@@ -32,7 +31,12 @@ const router = createRouter({
|
||||
path: '/traffic',
|
||||
name: 'traffic',
|
||||
component: () => import('@/views/traffic/index.vue')
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/sentiment',
|
||||
name: 'sentiment',
|
||||
component: () => import('@/views/sentiment/index.vue')
|
||||
}
|
||||
]
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user