From 6d6e3204f92d763e5df11d26702f6642a993e49e Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期四, 21 五月 2026 10:21:40 +0800
Subject: [PATCH] 增强审批模板功能,新增内置模板类型支持,优化模板编辑和导入逻辑,确保内置模板不可编辑和删除,提升用户体验和代码可维护性。
---
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