fix
This commit is contained in:
@@ -123,15 +123,15 @@ const companyRoutes = [
|
||||
|
||||
const marketingRoutes = [];
|
||||
|
||||
const roleRoutes = [
|
||||
{
|
||||
path: "role",
|
||||
component: lazy(() => import("@/pages/role")),
|
||||
name: "角色管理",
|
||||
icon: "setting",
|
||||
roles: ["ADMIN", "OWNER"],
|
||||
},
|
||||
];
|
||||
// const roleRoutes = [
|
||||
// {
|
||||
// path: "role",
|
||||
// component: lazy(() => import("@/pages/role")),
|
||||
// name: "角色管理",
|
||||
// icon: "setting",
|
||||
// roles: ["ADMIN", "OWNER"],
|
||||
// },
|
||||
// ];
|
||||
|
||||
export const generateRoutes = (role) => {
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user