fix: login title does not exist

This commit is contained in:
feng
2025-05-23 11:01:31 +08:00
committed by feng626
parent 3f31fa9810
commit 6dccdae9b4

View File

@@ -62,7 +62,7 @@ const actions = {
link.href = faviconURL
}
// 动态修改Title
document.title = data['INTERFACE']['login_title']
document.title = data?.INTERFACE?.login_title || ''
}
const themeColors = data?.INTERFACE?.theme_info?.colors || {}
commit('SET_PUBLIC_SETTINGS', data)