mirror of
https://github.com/PlayEdu/backend
synced 2025-07-13 03:32:54 +08:00
管理人员角色相关优化
This commit is contained in:
parent
1a73f08a74
commit
b2d6b4af75
@ -200,6 +200,7 @@ 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">
|
||||||
|
{role_ids.length === 0 && (
|
||||||
<PerButton
|
<PerButton
|
||||||
text="新建角色"
|
text="新建角色"
|
||||||
icon={<PlusOutlined />}
|
icon={<PlusOutlined />}
|
||||||
@ -209,6 +210,7 @@ const SystemAdministratorPage = () => {
|
|||||||
onClick={() => setCreateRoleVisible(true)}
|
onClick={() => setCreateRoleVisible(true)}
|
||||||
disabled={null}
|
disabled={null}
|
||||||
/>
|
/>
|
||||||
|
)}
|
||||||
<PerButton
|
<PerButton
|
||||||
type="default"
|
type="default"
|
||||||
text="添加管理员"
|
text="添加管理员"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user