From 16ffef37260822329ab6f796f9606d0da42c41f9 Mon Sep 17 00:00:00 2001 From: litian <2804272236@qq.com> Date: 星期三, 01 一月 2025 18:06:24 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- src/books/aviationSafety/view/components/index.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/books/aviationSafety/view/components/index.vue b/src/books/aviationSafety/view/components/index.vue index 15d95ef..322a9e8 100644 --- a/src/books/aviationSafety/view/components/index.vue +++ b/src/books/aviationSafety/view/components/index.vue @@ -165,7 +165,7 @@ // 娴嬭瘯椤甸潰璺宠浆 setTimeout(() => { - this.gotoPage(2,12); + this.gotoPage(1,1); // setTimeout(() => { // this.renderSign("Highlight", { // id: "2ACA9359", @@ -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