From 8fc88e42b328c23b5249708913c430ec270078e2 Mon Sep 17 00:00:00 2001 From: q4444zpf Date: Tue, 13 Jun 2023 19:38:18 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 52 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/src/router/index.js b/src/router/index.js index 3775dec..ecedeb2 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -29,6 +29,7 @@ export const constantRoutes = [ path: "/login", component: () => import("@/views/login/login.vue"), }, + { path: "/daping", component: () => import("@/views/daping/daping.vue"), @@ -73,6 +74,57 @@ export const constantRoutes = [ }, ], }, + { + path: "/index1", + component: Layout, + redirect: "/index1", + children: [ + { + path: "/index1", + component: () => import("@/views/index1.vue"), + name: "index1", + meta: { + title: "报警", + noCache: true, + affix: true, + }, + }] + }, + { + path: "/index2", + component: Layout, + redirect: "/index2", + children: [ + { + path: "/index2", + component: () => import("@/views/index2.vue"), + name: "index2", + meta: { + title: "报警", + noCache: true, + affix: true, + }, + } + ], + }, + { + path: "/index3", + component: Layout, + redirect: "/index3", + children: [ + { + path: "/index3", + component: () => import("@/views/index3.vue"), + name: "index3", + meta: { + title: "报警", + noCache: true, + affix: true, + }, + } + + ], + }, { path: "/monitor", component: Layout,