fix(history, watch-later): delete button will toggle drawer open (#1090)

This commit is contained in:
Hakadao
2024-10-27 19:43:50 +08:00
parent fbde884004
commit 9a0d9cd31d
2 changed files with 2 additions and 2 deletions

View File

@@ -457,7 +457,7 @@ function jumpToLoginPage() {
opacity-0 group-hover:opacity-100
p-2
duration-300
@click.prevent="deleteHistoryItem(index, historyItem)"
@click.prevent.stop="deleteHistoryItem(index, historyItem)"
>
<div i-tabler:trash />
</button>

View File

@@ -278,7 +278,7 @@ function jumpToLoginPage() {
opacity-0 group-hover:opacity-100
p-2
duration-300
@click.prevent="deleteWatchLaterItem(index, item.aid)"
@click.prevent.stop="deleteWatchLaterItem(index, item.aid)"
>
<div i-tabler:trash />
</button>