gaoluyang
2025-09-18 e9cc8c82c196247484aa4d5ddd384bd347ab8afc
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
  }
}