Commit fbd90a6e authored by Amy Yang's avatar Amy Yang

提交代码

parent a36aaff6
import Vue from "vue"; import Vue from "vue";
import VueRouter from "vue-router"; import VueRouter from "vue-router";
import system from "./system";
Vue.use(VueRouter); Vue.use(VueRouter);
...@@ -21,10 +20,19 @@ const routes = [ ...@@ -21,10 +20,19 @@ const routes = [
component: () => import("../views/map/Map.vue") component: () => import("../views/map/Map.vue")
}, },
{ {
path: "/index", path: "/system",
name: "Index", name: "System",
component: () => import("../views/layouts/AppLayout.vue"), component: () => import("../views/layouts/AppLayout.vue"),
children: [system] children: [
{
path: "user",
name: "User",
component: () => import("../views/sys-user/SysUser.vue"),
meta: {
icon: ""
}
}
]
} }
]; ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment