perf: 修复站点个性化,浏览器标题没有生效的bug

This commit is contained in:
xiaojunnuo
2024-11-13 09:31:56 +08:00
parent 60a2ed48c2
commit bcfac02c96
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -69,7 +69,8 @@ router.afterEach((to: any) => {
// }
pageStore.open(to);
// 更改标题
site.title(to.meta.title);
const settingStore = useSettingStore();
site.title(to.meta.title, settingStore.siteInfo.title);
//修改左侧边栏
const matched = to.matched;