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