Browse Source

首页图片

master
q4444zpf 2 years ago
parent
commit
8fc88e42b3
  1. 52
      src/router/index.js

52
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,

Loading…
Cancel
Save