feat(projects): tab support touch event

This commit is contained in:
Soybean 2025-02-19 12:12:00 +08:00
parent 15163d7011
commit a03becdaed

View File

@ -186,7 +186,7 @@ init();
:active="tab.id === tabStore.activeTabId" :active="tab.id === tabStore.activeTabId"
:active-color="themeStore.themeColor" :active-color="themeStore.themeColor"
:closable="!tabStore.isTabRetain(tab.id)" :closable="!tabStore.isTabRetain(tab.id)"
@click="tabStore.switchRouteByTab(tab)" @pointerdown="tabStore.switchRouteByTab(tab)"
@close="handleCloseTab(tab)" @close="handleCloseTab(tab)"
@contextmenu="handleContextMenu($event, tab.id)" @contextmenu="handleContextMenu($event, tab.id)"
> >