张诺
2025-12-11 834c77e1c1132352d1d1aa61551f3bf46894172d
src/utils/dynamicTitle.js
@@ -6,10 +6,10 @@
 * 动态修改标题
 */
export function useDynamicTitle() {
  const settingsStore = useSettingsStore();
  const settingsStore = useSettingsStore()
  if (settingsStore.dynamicTitle) {
    document.title = settingsStore.title + ' - ' + defaultSettings.title;
    document.title = settingsStore.title + ' - ' + defaultSettings.title
  } else {
    document.title = defaultSettings.title;
    document.title = defaultSettings.title
  }
}