mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 03:39:34 +08:00
线上课课时添加bug修复
This commit is contained in:
@@ -62,7 +62,11 @@ export const SelectResource = (props: PropsInterface) => {
|
||||
open={props.open}
|
||||
width={800}
|
||||
maskClosable={false}
|
||||
onOk={() => props.onSelected(selectKeys, selectVideos)}
|
||||
onOk={() => {
|
||||
props.onSelected(selectKeys, selectVideos);
|
||||
setSelectKeys([]);
|
||||
setSelectVideos([]);
|
||||
}}
|
||||
>
|
||||
<Row>
|
||||
<Tabs defaultActiveKey="1" items={items} onChange={onChange} />
|
||||
|
||||
@@ -218,7 +218,7 @@ export const UploadVideoSub = (props: PropsInterface) => {
|
||||
paddingLeft: 10,
|
||||
}}
|
||||
>
|
||||
{videoList.length > 0 && (
|
||||
{videoList.length > 0 && total > 10 && (
|
||||
<Col
|
||||
span={24}
|
||||
style={{ display: "flex", flexDirection: "row-reverse" }}
|
||||
|
||||
Reference in New Issue
Block a user