This commit is contained in:
zlwu committed 2026-07-01 18:52:26 +08:00
1 parent 7c838cfb2d
commit 8e70047f4c
161 files changed
+16659 -10436

No files matched your search

+1 -3
View File
@@ -24,9 +24,7 @@
import { useWorktabStore } from '@/store/modules/worktab'
import { RouteLocationNormalized } from 'vue-router'
import { isIframe, isWorkbenchRoute } from './route'
import { useSettingStore } from '@/store/modules/setting'
import { IframeRouteManager } from '@/router/core'
import { useCommon } from '@/hooks/core/useCommon'
/**
* 根据当前路由信息设置工作标签页(worktab)
@@ -54,7 +52,7 @@ export const setWorktab = (to: RouteLocationNormalized): void => {
query
})
}
} else if (useSettingStore().showWorkTab || path === useCommon().homePath.value) {
} else {
worktabStore.openTab({
title: meta.title as string,
icon: meta.icon as string,