2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 06:47:20 +08:00

fix: 重复创建tab

This commit is contained in:
2026-01-24 01:24:05 +08:00
parent d9463df998
commit c3d5cdee5c

View File

@@ -7,7 +7,7 @@ export function createTabGuard(router: Router) {
router.afterEach((to) => {
if (EXCLUDE_TAB.includes(to.path)) return
const tabStore = useTabStore()
const { name, fullPath: path } = to
const { name, path } = to
const title = String(to.meta?.title)
tabStore.addTab({
name: String(name),