mirror of
https://github.com/PlayEdu/backend
synced 2025-10-27 03:51:27 +08:00
系统角色权限选择优化
This commit is contained in:
@@ -87,6 +87,11 @@ export const SystemAdminrolesCreate: React.FC<PropInterface> = ({
|
||||
value: "部门-n",
|
||||
children: [],
|
||||
},
|
||||
{
|
||||
title: "其它",
|
||||
value: "其它-n",
|
||||
children: [],
|
||||
},
|
||||
];
|
||||
let actions = res.data.perm_action.action;
|
||||
let permissions = res.data.perm_action.data;
|
||||
|
||||
@@ -53,6 +53,11 @@ export const SystemAdminrolesUpdate: React.FC<PropInterface> = ({
|
||||
},
|
||||
];
|
||||
const arr2: Option[] = [
|
||||
{
|
||||
title: "其它",
|
||||
value: "其它-n",
|
||||
children: [],
|
||||
},
|
||||
{
|
||||
title: "学员",
|
||||
value: "学员-n",
|
||||
@@ -88,6 +93,11 @@ export const SystemAdminrolesUpdate: React.FC<PropInterface> = ({
|
||||
value: "部门-n",
|
||||
children: [],
|
||||
},
|
||||
{
|
||||
title: "其它",
|
||||
value: "其它-n",
|
||||
children: [],
|
||||
},
|
||||
];
|
||||
let actions = res.data.perm_action.action;
|
||||
let permissions = res.data.perm_action.data;
|
||||
|
||||
Reference in New Issue
Block a user