Browse Source

Update video.tsx

lex 1 year ago
parent
commit
cb210d8409
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/student/pre-register-active/video.tsx

+ 2 - 2
src/student/pre-register-active/video.tsx

@@ -96,12 +96,12 @@ export default defineComponent({
           }
           if (item[0] < startNode && item[1] > startNode && item[1] <= endNode) {
             // console.log(4)
-            effective.push(startNode, item[1])
+            effective.push([startNode, item[1]])
           }
 
           if (item[0] < startNode && item[1] > startNode && item[1] > endNode) {
             // console.log(4)
-            effective.push(startNode, endNode)
+            effective.push([startNode, endNode])
           }
         }
       })