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