From 447fad1797cc37d2a9e2d5129ce74af728fa8836 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期四, 27 六月 2024 18:23:05 +0800 Subject: [PATCH] 题目公共请求方法添加收藏获取 --- 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