From e33672cf85da88d515d5fe6ccc0a139c3cfaa5db Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期四, 28 八月 2025 22:53:54 +0800 Subject: [PATCH] 8.28更新 --- src/components/bookVideo/index.vue | 14 +++++--------- 1 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/components/bookVideo/index.vue b/src/components/bookVideo/index.vue index 9a2d3c3..2cffe95 100644 --- a/src/components/bookVideo/index.vue +++ b/src/components/bookVideo/index.vue @@ -15,11 +15,11 @@ <el-tooltip class="item" effect="dark" :content="localIsCollectVideo ? '鐐瑰嚮鍙栨秷' : '鐐瑰嚮鏀惰棌'" placement="top-start"> <svgIcon class="collect-btn " :icon-file-name="collectResourceList.findIndex( - (item) => item.id == videoPath - ) > -1 - ? collectCheck - : collectImg - " @click="handleCollect()"></svgIcon> + (item) => item.id == videoPath + ) > -1 + ? collectCheck + : collectImg + " @click="handleCollect()"></svgIcon> </el-tooltip> </p> </div> @@ -41,7 +41,6 @@ videoPathSrc: "", collectResourceList: [], localIsCollectVideo: false, - isDisplay: true, videoName: this.videoInfo.resourceName }; }, @@ -62,14 +61,11 @@ }, methods: { async getVidoePath() { - console.log(this.videoInfo, "this.videoInfo.md5"); this.videoPathSrc = await getResourcePath( this.videoInfo.md5 ); }, - handleCollect() { - debugger this.handleCollectResource( this.videoPath, this.videoPath, -- Gitblit v1.9.1