lsc 2 days ago
parent
commit
366f9d0883
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/Student/index.vue

+ 1 - 1
src/views/Student/index.vue

@@ -622,7 +622,7 @@ const handleHomeworkSubmit = async () => {
 
   try {
     // 获取所有iframe元素
-    const iframes = document.querySelectorAll('.viewer-canvas iframe')
+    const iframes = document.querySelectorAll('.viewer-canvas .screen-slide')[4].querySelectorAll('iframe')
     console.log('找到iframe元素数量:', iframes.length)
 
     if (iframes.length === 0) {