From b829ba4aa0617d1d7c0559f859e1357f3ae6f0b3 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期五, 03 十一月 2023 18:36:11 +0800
Subject: [PATCH] fix 修复 websocket 初始化无法连接进程死掉问题(vue代理问题)

---
 src/utils/dynamicTitle.ts |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/utils/dynamicTitle.ts b/src/utils/dynamicTitle.ts
index f6ba1d9..8e23ef8 100644
--- a/src/utils/dynamicTitle.ts
+++ b/src/utils/dynamicTitle.ts
@@ -5,10 +5,10 @@
  * 鍔ㄦ�佷慨鏀规爣棰�
  */
 export const useDynamicTitle = () => {
-	const settingsStore = useSettingsStore();
-	if (settingsStore.dynamicTitle) {
-		document.title = settingsStore.title + ' - ' + import.meta.env.VITE_APP_TITLE;
-	} else {
-		document.title = defaultSettings.title as string;
-	}
+  const settingsStore = useSettingsStore();
+  if (settingsStore.dynamicTitle) {
+    document.title = settingsStore.title + ' - ' + import.meta.env.VITE_APP_TITLE;
+  } else {
+    document.title = defaultSettings.title as string;
+  }
 };

--
Gitblit v1.9.3