diff --git a/app/wails/frontend/src/views/scaffold/index.vue b/app/wails/frontend/src/views/scaffold/index.vue index 2d20b78..78ebda7 100644 --- a/app/wails/frontend/src/views/scaffold/index.vue +++ b/app/wails/frontend/src/views/scaffold/index.vue @@ -14,10 +14,11 @@ if(globalTabsState.tabs.find(item => item.name === route.path) == null && route. } if(route.path === "/"){ - router.push("/home") + let r = router.resolve("/home") + router.push(r) globalTabsState.addTab({ name: "/home", - title: "首页", + title: r.meta.title, closable: false, }) }