first commit
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
const Layout = () => import("@/layout/index.vue");
|
||||
|
||||
export default {
|
||||
path: "/access",
|
||||
name: "AccessManagement",
|
||||
component: Layout,
|
||||
redirect: "/employees",
|
||||
meta: {
|
||||
icon: "ep/user-filled",
|
||||
title: "权限管理",
|
||||
rank: 1
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: "/stores",
|
||||
name: "StoreManagement",
|
||||
component: () => import("@/views/stores/index.vue"),
|
||||
meta: {
|
||||
title: "门店管理",
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/roles",
|
||||
name: "RoleManagement",
|
||||
component: () => import("@/views/roles/index.vue"),
|
||||
meta: {
|
||||
title: "角色管理",
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/employees",
|
||||
name: "EmployeeManagement",
|
||||
component: () => import("@/views/employees/index.vue"),
|
||||
meta: {
|
||||
title: "员工管理",
|
||||
keepAlive: true
|
||||
}
|
||||
}
|
||||
]
|
||||
} satisfies RouteConfigsTable;
|
||||
Reference in New Issue
Block a user