线上课编辑优化

This commit is contained in:
禺狨 2023-03-22 16:41:03 +08:00
parent 11896ac9a2
commit 11aae7957d

View File

@ -105,7 +105,6 @@ export const CourseHourUpdate: React.FC<PropInterface> = ({
const selectData = (arr: any, videos: any) => { const selectData = (arr: any, videos: any) => {
const hours: any = []; const hours: any = [];
console.log(videos);
for (let i = 0; i < videos.length; i++) { for (let i = 0; i < videos.length; i++) {
if (videos[i].disabled === false) { if (videos[i].disabled === false) {
hours.push({ hours.push({