优化分类选择功能:新增默认展开分类列表设置,更新相关页面以支持此功能

This commit is contained in:
2026-04-06 14:06:06 +08:00
parent 654a21e7e6
commit e28e1c6da8
9 changed files with 48 additions and 16 deletions
+6
View File
@@ -171,6 +171,11 @@ export const useSettingsStore = defineStore('settings', () => {
appSettings.value.animate = value;
}
function setExpandCategoryTreeByDefault(value: boolean): void {
updateApplicationSettingsValue('expandCategoryTreeByDefault', value);
appSettings.value.expandCategoryTreeByDefault = value;
}
// Application Lock
function setEnableApplicationLock(value: boolean): void {
updateApplicationSettingsValue('applicationLock', value);
@@ -528,6 +533,7 @@ export const useSettingsStore = defineStore('settings', () => {
setShowAccountBalance,
setEnableSwipeBack,
setEnableAnimate,
setExpandCategoryTreeByDefault,
// -- Application Lock
setEnableApplicationLock,
setEnableApplicationLockWebAuthn,