mirror of
https://github.com/PlayEdu/backend
synced 2025-06-29 02:52:31 +08:00
资源删除权限去除
This commit is contained in:
parent
fd2f1327ac
commit
8171b16bc6
@ -200,15 +200,13 @@ const ResourceImagesPage = () => {
|
||||
<Button className="mr-16" onClick={() => selectAll()}>
|
||||
全选
|
||||
</Button>
|
||||
<PerButton
|
||||
<Button
|
||||
disabled={selectKey.length === 0}
|
||||
type="primary"
|
||||
text="删除"
|
||||
class=""
|
||||
icon={null}
|
||||
p="resource-destroy"
|
||||
onClick={() => removeResource()}
|
||||
/>
|
||||
>
|
||||
删除
|
||||
</Button>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
|
@ -84,7 +84,6 @@ const ResourceCategoryPage = () => {
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
{through("resource-destroy") && (
|
||||
<i
|
||||
className="iconfont icon-icon-delete"
|
||||
style={{ fontSize: 24 }}
|
||||
@ -92,7 +91,6 @@ const ResourceCategoryPage = () => {
|
||||
removeItem(categories[id][i].id, categories[id][i].name)
|
||||
}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
</>
|
||||
),
|
||||
@ -121,7 +119,6 @@ const ResourceCategoryPage = () => {
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
{through("resource-destroy") && (
|
||||
<i
|
||||
className="iconfont icon-icon-delete"
|
||||
style={{ fontSize: 24 }}
|
||||
@ -129,7 +126,6 @@ const ResourceCategoryPage = () => {
|
||||
removeItem(categories[id][i].id, categories[id][i].name)
|
||||
}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
</>
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user