From 8a31a31d93f6f1ada9cb3c0d4514d7cce97df92f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BE=9A=E7=9A=93?= <1736436516@qq.com> Date: Wed, 16 Oct 2024 14:56:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=8A=E8=AD=A6=E8=B7=AF=E7=94=B1=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/router/index.ts b/src/router/index.ts index 4bc1f6f..75303fa 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -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 } } ] },