From ba32a9384afe96a4ff14cee319c827c73ce9f6a2 Mon Sep 17 00:00:00 2001 From: litian <2804272236@qq.com> Date: 星期五, 07 三月 2025 10:09:48 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- src/books/aviationEtiquette/view/components/index.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/books/aviationEtiquette/view/components/index.vue b/src/books/aviationEtiquette/view/components/index.vue index fa88e34..41631e7 100644 --- a/src/books/aviationEtiquette/view/components/index.vue +++ b/src/books/aviationEtiquette/view/components/index.vue @@ -159,7 +159,7 @@ // 娴嬭瘯椤甸潰璺宠浆 // setTimeout(() => { - // this.gotoPage(2, 6); + // this.gotoPage(2, 9); // setTimeout(() => { // this.renderSign("Highlight", { // id: "2ACA9359", @@ -917,7 +917,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