告警路由添加
This commit is contained in:
parent
0e79e6f9cd
commit
8a31a31d93
|
@ -9,6 +9,7 @@ import Login from '@/html/LoginView.vue';
|
|||
import UserList from '@/html/UserList.vue';
|
||||
import Home from '@/html/Home.vue';
|
||||
import DataStatistics from '@/html/DataStatistics.vue';
|
||||
import Cameras from '@/components/Cameras.vue';
|
||||
|
||||
const routes = [
|
||||
{
|
||||
|
@ -58,6 +59,12 @@ const routes = [
|
|||
name: 'DataStatistics',
|
||||
component: DataStatistics,
|
||||
meta: { requiresAuth: true }
|
||||
},
|
||||
{
|
||||
path:'/cameras',
|
||||
name: 'Cameras',
|
||||
component: Cameras,
|
||||
meta: { requiresAuth: true }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue