huminmin
8 天以前 ce6a2bac234c48dce836f6c5d45c63da7c1e7424
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
  }
}