From 9b2ebc5507f5426e3094f36f6a93ff115dcbe034 Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期四, 29 一月 2026 09:18:56 +0800
Subject: [PATCH] fix: 编辑人员信息时部门会显示0

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

diff --git a/src/utils/dynamicTitle.js b/src/utils/dynamicTitle.js
index b55d6a1..2005758 100644
--- a/src/utils/dynamicTitle.js
+++ b/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
   }
 }
\ No newline at end of file

--
Gitblit v1.9.3