This commit is contained in:
xingyu4j
2025-05-14 11:54:29 +08:00
7 changed files with 23 additions and 8 deletions

View File

@@ -41,8 +41,8 @@ export function useTabs() {
await tabbarStore.toggleTabPin(tab || route);
}
async function refreshTab() {
await tabbarStore.refresh(router);
async function refreshTab(name?: string) {
await tabbarStore.refresh(name || router);
}
async function openTabInNewWindow(tab?: RouteLocationNormalized) {