===优化

This commit is contained in:
禺狨
2023-03-22 18:53:21 +08:00
parent c032727588
commit 954386df83
7 changed files with 11 additions and 11 deletions

View File

@@ -387,7 +387,7 @@ export const CourseCreate: React.FC<PropInterface> = ({
setVideoVisible(false);
}}
onSelected={(arr: any, videos: any) => {
if (chapterType == 0) {
if (chapterType === 0) {
selectData(arr, videos);
} else {
selectChapterData(arr, videos);