From ce2a6bd9d3631e0424a57faf55476db976601d29 Mon Sep 17 00:00:00 2001
From: QYF-GitLab1 <1940665526@qq.com>
Date: 星期一, 28 四月 2025 18:06:07 +0800
Subject: [PATCH] 婴幼儿行为观察与指导样章完结

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

diff --git a/src/books/artAndDance/view/components/index.vue b/src/books/artAndDance/view/components/index.vue
index 6636390..f70373f 100644
--- a/src/books/artAndDance/view/components/index.vue
+++ b/src/books/artAndDance/view/components/index.vue
@@ -922,7 +922,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