告警路由添加

This commit is contained in:
龚皓 2024-10-16 14:56:54 +08:00
parent 0e79e6f9cd
commit 8a31a31d93
1 changed files with 7 additions and 0 deletions

View File

@ -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 }
}
]
},