mirror of
https://github.com/PlayEdu/backend
synced 2025-06-28 22:42:48 +08:00
管理人员角色相关优化
This commit is contained in:
parent
1a73f08a74
commit
b2d6b4af75
@ -200,15 +200,17 @@ const SystemAdministratorPage = () => {
|
||||
</div>
|
||||
<div className="float-left j-b-flex mb-24">
|
||||
<div className="d-flex">
|
||||
<PerButton
|
||||
text="新建角色"
|
||||
icon={<PlusOutlined />}
|
||||
class="mr-16"
|
||||
type="primary"
|
||||
p="admin-role"
|
||||
onClick={() => setCreateRoleVisible(true)}
|
||||
disabled={null}
|
||||
/>
|
||||
{role_ids.length === 0 && (
|
||||
<PerButton
|
||||
text="新建角色"
|
||||
icon={<PlusOutlined />}
|
||||
class="mr-16"
|
||||
type="primary"
|
||||
p="admin-role"
|
||||
onClick={() => setCreateRoleVisible(true)}
|
||||
disabled={null}
|
||||
/>
|
||||
)}
|
||||
<PerButton
|
||||
type="default"
|
||||
text="添加管理员"
|
||||
|
Loading…
x
Reference in New Issue
Block a user