fix(@vben/stores): respect base URL when opening route in new window (#7837)

* fix(@vben/stores): respect base URL when opening route in new window

* fix(@vben/stores): respect base URL when opening route in new window
This commit is contained in:
leo
2026-05-01 06:49:05 +08:00
committed by GitHub
parent c0b2ef980e
commit 9a73e961fc
2 changed files with 5 additions and 4 deletions

View File

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