mirror of
https://github.com/PlayEdu/backend
synced 2025-12-30 08:23:05 +08:00
资源删除权限去除
This commit is contained in:
@@ -84,15 +84,13 @@ const ResourceCategoryPage = () => {
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
{through("resource-destroy") && (
|
||||
<i
|
||||
className="iconfont icon-icon-delete"
|
||||
style={{ fontSize: 24 }}
|
||||
onClick={() =>
|
||||
removeItem(categories[id][i].id, categories[id][i].name)
|
||||
}
|
||||
/>
|
||||
)}
|
||||
<i
|
||||
className="iconfont icon-icon-delete"
|
||||
style={{ fontSize: 24 }}
|
||||
onClick={() =>
|
||||
removeItem(categories[id][i].id, categories[id][i].name)
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
</>
|
||||
),
|
||||
@@ -121,15 +119,13 @@ const ResourceCategoryPage = () => {
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
{through("resource-destroy") && (
|
||||
<i
|
||||
className="iconfont icon-icon-delete"
|
||||
style={{ fontSize: 24 }}
|
||||
onClick={() =>
|
||||
removeItem(categories[id][i].id, categories[id][i].name)
|
||||
}
|
||||
/>
|
||||
)}
|
||||
<i
|
||||
className="iconfont icon-icon-delete"
|
||||
style={{ fontSize: 24 }}
|
||||
onClick={() =>
|
||||
removeItem(categories[id][i].id, categories[id][i].name)
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
</>
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user