From aa9f790ecb74a1f31474ec7209c5018a4a9b72c7 Mon Sep 17 00:00:00 2001
From: zhongshujie <2862698242@qq.com>
Date: 星期五, 01 十一月 2024 18:11:21 +0800
Subject: [PATCH] 民航概论分页(11.1)

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

diff --git a/src/books/civilAviationServices/view/components/index.vue b/src/books/civilAviationServices/view/components/index.vue
index fc1081e..5b71a42 100644
--- a/src/books/civilAviationServices/view/components/index.vue
+++ b/src/books/civilAviationServices/view/components/index.vue
@@ -908,7 +908,7 @@
           const bottomGap = playVudio.getBoundingClientRect().bottom;
           const topGap = playVudio.getBoundingClientRect().top;
           if (bottomGap < 0 || topGap > window.innerHeight) {
-            playVudio.requestPictureInPicture();
+            if(playVudio.readyState) playVudio.requestPictureInPicture();
           }
         }
       },

--
Gitblit v1.9.1