From a58a3d3b9c46513f7a00dc9fd06b9ec9d83c23ac Mon Sep 17 00:00:00 2001 From: litian <2804272236@qq.com> Date: 星期四, 13 二月 2025 18:08:14 +0800 Subject: [PATCH] xinshu --- src/books/aviationSafety/view/components/index.vue | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/books/aviationSafety/view/components/index.vue b/src/books/aviationSafety/view/components/index.vue index 78d614c..6dc5e06 100644 --- a/src/books/aviationSafety/view/components/index.vue +++ b/src/books/aviationSafety/view/components/index.vue @@ -110,7 +110,6 @@ // 榛樿鍔犺浇绔犺妭 this.showCatalogList = [1]; // 婊氬姩鐩戝惉鑺傛祦 - // debugger this.throttledScrollHandler = _.throttle( this.scrollFun, this.throttleThreshold, @@ -165,8 +164,8 @@ }, 500); // 娴嬭瘯椤甸潰璺宠浆 - setTimeout(() => { - this.gotoPage(9,130); + // setTimeout(() => { + // this.gotoPage(3,22); // setTimeout(() => { // this.renderSign("Highlight", { // id: "2ACA9359", @@ -180,7 +179,7 @@ // ids: ["2ACA9359"] // }); // }, 2000); - }, 500); + // }, 500); // const pageDom = (this.container ? this.container : document) // .querySelector("#app") @@ -226,7 +225,6 @@ ) { console.log(1); - // debugger // 鍒拌揪闃堝�� if ( this.showCatalogList[this.showCatalogList.length - 1] < @@ -929,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