diff --git a/src/router/index.js b/src/router/index.js index 7cbc2af..9078ad9 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -122,7 +122,7 @@ export const publicRoutes = [ component: () => import("@/views/login/index") }, { - path: "/home", + path: "/", name: "home", component: () => import("@/views/home/index") //系统登录 }, @@ -136,6 +136,7 @@ export const publicRoutes = [ component: layout, redirect: "/IdentityManage", children: [ + { path: "/FourColorWarning", name: "FourColorWarning", @@ -170,7 +171,6 @@ export const publicRoutes = [ } ] }, - { path: "/IntelligentControl", name: "IntelligentControl", @@ -380,7 +380,7 @@ export const publicRoutes = [ title: "网上会商室", icon: "article" } - } + }, ] } ];