lsc 2 tuần trước cách đây
mục cha
commit
45e6d43819
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/views/Student/index.vue

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

@@ -1506,7 +1506,8 @@ const handleRefreshPage = () => {
         iframe.src = originalSrc
         console.log(`刷新iframe ${i + 1}:`, originalSrc)
         refreshedCount++
-      } else if (iframe.srcdoc) {
+      }
+      else if (iframe.srcdoc) {
         // srcdoc场景下,重新赋值srcdoc内容
         const originalSrcdoc = iframe.srcdoc
         iframe.srcdoc = ''
@@ -1516,6 +1517,7 @@ const handleRefreshPage = () => {
         }, 50)
         refreshedCount++
       }
+    }
 
     if (refreshedCount > 0) {
       message.success(`刷新完成`)