From 89bc2a06d2112b276c9417e19f3b37e3808cff78 Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期四, 02 一月 2025 10:47:39 +0800 Subject: [PATCH] bug解决 --- src/books/aviationSafety/view/components/index.vue | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/books/aviationSafety/view/components/index.vue b/src/books/aviationSafety/view/components/index.vue index f5a878c..6dc5e06 100644 --- a/src/books/aviationSafety/view/components/index.vue +++ b/src/books/aviationSafety/view/components/index.vue @@ -164,8 +164,8 @@ }, 500); // 娴嬭瘯椤甸潰璺宠浆 - setTimeout(() => { - this.gotoPage(6,119); + // setTimeout(() => { + // this.gotoPage(3,22); // setTimeout(() => { // this.renderSign("Highlight", { // id: "2ACA9359", @@ -179,7 +179,7 @@ // ids: ["2ACA9359"] // }); // }, 2000); - }, 500); + // }, 500); // const pageDom = (this.container ? this.container : document) // .querySelector("#app") @@ -927,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