|
|
@ -14,7 +14,7 @@ import { markRaw, toRaw } from 'vue'; |
|
|
import { preferences } from '@vben-core/preferences'; |
|
|
import { preferences } from '@vben-core/preferences'; |
|
|
import { |
|
|
import { |
|
|
createStack, |
|
|
createStack, |
|
|
openRouteInNewWindow, |
|
|
openWindow, |
|
|
Stack, |
|
|
Stack, |
|
|
startProgress, |
|
|
startProgress, |
|
|
stopProgress, |
|
|
stopProgress, |
|
|
@ -373,7 +373,7 @@ export const useTabbarStore = defineStore('core-tabbar', { |
|
|
*/ |
|
|
*/ |
|
|
async openTabInNewWindow(tab: TabDefinition, router: Router) { |
|
|
async openTabInNewWindow(tab: TabDefinition, router: Router) { |
|
|
const href = router.resolve(tab.fullPath || tab.path).href; |
|
|
const href = router.resolve(tab.fullPath || tab.path).href; |
|
|
openRouteInNewWindow(href); |
|
|
openWindow(new URL(href, location.href).href, { target: '_blank' }); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
|