fix: 同步浏览器标题显示

This commit is contained in:
Nixevol
2026-07-05 01:02:39 +08:00
parent 4d32a117e2
commit 5207af30f1
5 changed files with 28 additions and 1 deletions
+2
View File
@@ -92,9 +92,11 @@ onMounted(async () => {
try {
const info = await appApi.info();
appName.value = info.appName || t('pages.login.title');
document.title = appName.value;
appIconUrl.value = resolveAppIcon(info.appIconUrl);
setFavicon(appIconUrl.value);
} catch {
document.title = appName.value;
setFavicon(appIconUrl.value);
}
});