From 16ffef37260822329ab6f796f9606d0da42c41f9 Mon Sep 17 00:00:00 2001
From: litian <2804272236@qq.com>
Date: 星期三, 01 一月 2025 18:06:24 +0800
Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout

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

diff --git a/src/books/aviationSafety/view/components/index.vue b/src/books/aviationSafety/view/components/index.vue
index 78d614c..322a9e8 100644
--- a/src/books/aviationSafety/view/components/index.vue
+++ b/src/books/aviationSafety/view/components/index.vue
@@ -110,7 +110,6 @@
       // 榛樿鍔犺浇绔犺妭
       this.showCatalogList = [1];
       // 婊氬姩鐩戝惉鑺傛祦
-      // debugger
       this.throttledScrollHandler = _.throttle(
         this.scrollFun,
         this.throttleThreshold,
@@ -166,7 +165,7 @@
   
       // 娴嬭瘯椤甸潰璺宠浆
       setTimeout(() => {
-        this.gotoPage(9,130);
+        this.gotoPage(1,1);
       //   setTimeout(() => {
       //     this.renderSign("Highlight", {
       //       id: "2ACA9359",
@@ -226,7 +225,6 @@
           ) {
             console.log(1);
   
-            // debugger
             // 鍒拌揪闃堝��
             if (
               this.showCatalogList[this.showCatalogList.length - 1] <
@@ -929,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