fix: missing await for an async function call (#4035)

This commit is contained in:
Li Kui
2024-08-04 21:53:44 +08:00
committed by GitHub
parent 7994d664fd
commit e29352d0f1
4 changed files with 9 additions and 9 deletions

View File

@@ -44,7 +44,7 @@ export function useTabs() {
}
async function openTabInNewWindow(tab?: RouteLocationNormalized) {
tabbarStore.openTabInNewWindow(tab || route);
await tabbarStore.openTabInNewWindow(tab || route);
}
async function closeTabByKey(key: string) {