gaoluyang
2025-12-11 3791cb8c977f753dfabd0d48a161dd8bff11b4b4
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
  }
}