mirror of
https://github.com/PlayEdu/backend
synced 2025-07-20 10:09:42 +08:00
视频列表创建人回显
This commit is contained in:
parent
205efed0b7
commit
2ae8a74cc6
@ -109,6 +109,11 @@ export const ResourceImagesPage = () => {
|
||||
setRefresh(!refresh);
|
||||
};
|
||||
|
||||
const cancelAll = () => {
|
||||
setSelectKey([]);
|
||||
setRefresh(!refresh);
|
||||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="tree-main-body">
|
||||
@ -132,6 +137,11 @@ export const ResourceImagesPage = () => {
|
||||
}}
|
||||
></UploadImageSub>
|
||||
<div className="d-flex">
|
||||
{selectKey.length > 0 && (
|
||||
<Button className="mr-16" onClick={() => cancelAll()}>
|
||||
取消全选
|
||||
</Button>
|
||||
)}
|
||||
<Button className="mr-16" onClick={() => selectAll()}>
|
||||
全选
|
||||
</Button>
|
||||
|
@ -61,9 +61,9 @@ export const ResourceVideosPage = () => {
|
||||
},
|
||||
{
|
||||
title: "创建人",
|
||||
dataIndex: "id",
|
||||
render: (id: string) =>
|
||||
JSON.stringify(adminUsers) !== "{}" && <span>{adminUsers.id}</span>,
|
||||
dataIndex: "admin_id",
|
||||
render: (text: number) =>
|
||||
JSON.stringify(adminUsers) !== "{}" && <span>{adminUsers[text]}</span>,
|
||||
},
|
||||
{
|
||||
title: "视频时长",
|
||||
|
Loading…
x
Reference in New Issue
Block a user