feat: restrict permission roles

This commit is contained in:
Frudrax Cheng
2026-06-06 13:50:54 +08:00
parent 2892cfb93d
commit 15a9f80b7f
12 changed files with 94 additions and 49 deletions
+2 -2
View File
@@ -218,7 +218,7 @@ function ProjectOrdersPage() {
<span></span>
</Space>
}
extra={
extra={isAdmin ? (
<Button
type="primary"
icon={<PlusOutlined />}
@@ -226,7 +226,7 @@ function ProjectOrdersPage() {
>
</Button>
}
) : null}
>
<Space style={{ marginBottom: 16, flexWrap: 'wrap' }}>
<Input.Search