系统角色权限选择优化

This commit is contained in:
禺狨 2023-04-07 17:19:59 +08:00
parent 0339e6fcd3
commit 5cfb03cd9c
2 changed files with 15 additions and 0 deletions

View File

@ -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;

View File

@ -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;