From 84fc4de79a053e79165f95dff3679506fec890f5 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Fri, 13 Oct 2023 18:45:45 +0800 Subject: [PATCH] chore: remove useless code --- src/components/VideoCard.vue | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/components/VideoCard.vue b/src/components/VideoCard.vue index cdcdab46..f39724e0 100644 --- a/src/components/VideoCard.vue +++ b/src/components/VideoCard.vue @@ -64,17 +64,6 @@ function toggleWatchLater() { } } -function handleMouseMove() { - contentVisibility.value = 'visible' -} - -function handelMouseLeave() { - clearTimeout(mouseLeaveTimeOut.value) - mouseLeaveTimeOut.value = setTimeout(() => { - contentVisibility.value = 'auto' - }, 300) -} - // function submitDislike( // reasonID: number, // goto: string, @@ -138,8 +127,6 @@ function handelMouseLeave() { :class="isDislike ? 'is-dislike' : ''" p-20px m--20px w="[calc(100%+40px)]" pos="absolute top-0 left-0" rounded="$bew-radius" content-visibility-auto - @mousemove="handleMouseMove" - @mouseleave="handelMouseLeave" >