From 743ce82792783eb0336fd761d02facd08587df0d Mon Sep 17 00:00:00 2001 From: litian <2804272236@qq.com> Date: 星期五, 24 一月 2025 10:51:25 +0800 Subject: [PATCH] tuoyu --- 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