From 875bedcb1163a3e0b80640c1f5f2fa17520f9b54 Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期四, 27 二月 2025 11:36:23 +0800 Subject: [PATCH] 分页完成并体育与健康pdf查看器修改 --- 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