mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 13:28:38 +08:00
修复标题显示异常
This commit is contained in:
+1
-1
@@ -67,7 +67,7 @@ watch([
|
||||
() => settingsStore.title,
|
||||
], () => {
|
||||
if (settingsStore.app.enableDynamicTitle && settingsStore.title) {
|
||||
const title = settingsStore.title
|
||||
const title = typeof settingsStore.title === 'function' ? settingsStore.title() : settingsStore.title
|
||||
document.title = `${title} - ${import.meta.env.VITE_APP_TITLE}`
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user