From d38399c29eb4ac73b97cf2c698d9f48d296848ab Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期一, 01 七月 2024 09:24:33 +0800 Subject: [PATCH] bits题目请求优化 --- src/books/childHealth/view/content/index.vue | 11 +---------- 1 files changed, 1 insertions(+), 10 deletions(-) diff --git a/src/books/childHealth/view/content/index.vue b/src/books/childHealth/view/content/index.vue index 6b0600d..0b2d947 100644 --- a/src/books/childHealth/view/content/index.vue +++ b/src/books/childHealth/view/content/index.vue @@ -898,6 +898,7 @@ // 璺宠浆 this.gotoPage(data.catalog, data.page, () => {}); }, + // 鐐瑰嚮瑙嗛鍏抽棴鍏朵粬 closeVideo() { let allVideo = ( this.container ? this.container : document @@ -907,7 +908,6 @@ item.addEventListener('playing',(item) => { const path = item.srcElement.src const videoList = Array.from(allVideo); - console.log('鎾斁',item); for (let cindex = 0; cindex < videoList.length; cindex++) { const citem = videoList[cindex]; if(citem.currentSrc != path && path) { @@ -917,15 +917,6 @@ }) } } - // allVideo = Array.from(allVideo); - // if(allVideo.length) { - // for (let index = 0; index < allVideo.length; index++) { - // const item = allVideo[index]; - // if(item.currentSrc != path) { - // item.pause() - // } - // } - // } }, components: { pageHeader, -- Gitblit v1.9.1