feat: support middle-click to close tabs (#162)

This commit is contained in:
t8y2
2026-05-08 17:19:31 +08:00
parent edda036f3c
commit c036dd19e4
2 changed files with 29 additions and 7 deletions
+1
View File
@@ -75,6 +75,7 @@ watch(
"
:data-active-tab="tab.id === queryStore.activeTabId"
@click="queryStore.activeTabId = tab.id"
@mousedown.middle.prevent="queryStore.closeTab(tab.id)"
>
<span
class="h-1.5 w-1.5 rounded-full shrink-0"