From 16697df76d7b27ff65d229937b3f3ac4cc0e56a0 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期二, 09 六月 2026 17:27:27 +0800
Subject: [PATCH] docs(knowledge-base): 添加知识库模块传参方式和参数命名规范文档
---
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