This commit is contained in:
SunWuyuan
2025-03-09 14:59:35 +08:00
parent 08e95a3efc
commit 96c4ab81d9
7 changed files with 271 additions and 74 deletions
+6 -1
View File
@@ -29,6 +29,11 @@ const settingsDefinitions = {
default: true,
description: '是否启用动态排序以优化显示效果'
},
'display.showRandomButton': {
type: 'boolean',
default: false,
description: '是否显示随机按钮'
},
// 服务器设置(合并了数据提供者设置)
'server.domain': {
@@ -46,7 +51,7 @@ const settingsDefinitions = {
'server.provider': { // 新增项
type: 'string',
default: 'localStorage',
validate: value => ['server', 'localStorage'].includes(value),
validate: value => ['server', 'localStorage', 'indexedDB'].includes(value),
description: '数据提供者,用于决定数据存储方式'
},