From a8da6c44895f90bc6d33df129bccd424bf73be3e Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期二, 31 十二月 2024 18:11:02 +0800
Subject: [PATCH]       小窗

---
 src/books/aviationSafety/view/components/index.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/books/aviationSafety/view/components/index.vue b/src/books/aviationSafety/view/components/index.vue
index c954fdc..322a9e8 100644
--- a/src/books/aviationSafety/view/components/index.vue
+++ b/src/books/aviationSafety/view/components/index.vue
@@ -165,7 +165,7 @@
   
       // 娴嬭瘯椤甸潰璺宠浆
       setTimeout(() => {
-        this.gotoPage(6,72);
+        this.gotoPage(1,1);
       //   setTimeout(() => {
       //     this.renderSign("Highlight", {
       //       id: "2ACA9359",
@@ -927,7 +927,11 @@
           const bottomGap = playVudio.getBoundingClientRect().bottom;
           const topGap = playVudio.getBoundingClientRect().top;
           if (bottomGap < 0 || topGap > window.innerHeight) {
-            playVudio.requestPictureInPicture();
+            try {
+            if(playVudio.readyState) playVudio.requestPictureInPicture();
+          } catch (error) {
+              console.log(error,"灏忕獥閿欒error");
+          }
           }
         }
       },

--
Gitblit v1.9.1