添加静态菜单及对应空白页面;
This commit is contained in:
31
src/router/modules/user.ts
Normal file
31
src/router/modules/user.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
const Layout = () => import("@/layout/index.vue");
|
||||
|
||||
export default {
|
||||
path: "/user",
|
||||
name: "user",
|
||||
component: Layout,
|
||||
redirect: "/user/sysuser",
|
||||
meta: {
|
||||
icon: "ep:apple",
|
||||
title: "人员管理",
|
||||
rank: 8
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: "/user/sysuser",
|
||||
name: "sysuser",
|
||||
component: () => import("@/views/user/sysuser/index.vue"),
|
||||
meta: {
|
||||
title: "系统用户管理"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/user/companyuser",
|
||||
name: "companyuser",
|
||||
component: () => import("@/views/user/companyuser/index.vue"),
|
||||
meta: {
|
||||
title: "企业用户管理"
|
||||
}
|
||||
}
|
||||
]
|
||||
} satisfies RouteConfigsTable;
|
||||
Reference in New Issue
Block a user