lsc преди 1 ден
родител
ревизия
366f9d0883
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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) {