mirror of
https://github.com/fankes/komari-theme-purcarte.git
synced 2025-10-19 03:49:22 +08:00
fix: 修复主题动态配置 options 字段
This commit is contained in:
@@ -71,10 +71,7 @@
|
|||||||
"key": "selectedDefaultView",
|
"key": "selectedDefaultView",
|
||||||
"name": "默认展示视图",
|
"name": "默认展示视图",
|
||||||
"type": "select",
|
"type": "select",
|
||||||
"options": [
|
"options": "grid,table",
|
||||||
"grid",
|
|
||||||
"table"
|
|
||||||
],
|
|
||||||
"default": "grid",
|
"default": "grid",
|
||||||
"help": "设置默认展示视图为网格或表格(优先使用 localStorage)"
|
"help": "设置默认展示视图为网格或表格(优先使用 localStorage)"
|
||||||
},
|
},
|
||||||
@@ -82,11 +79,7 @@
|
|||||||
"key": "selectedDefaultAppearance",
|
"key": "selectedDefaultAppearance",
|
||||||
"name": "默认外观",
|
"name": "默认外观",
|
||||||
"type": "select",
|
"type": "select",
|
||||||
"options": [
|
"options": "system,light,dark",
|
||||||
"light",
|
|
||||||
"dark",
|
|
||||||
"system"
|
|
||||||
],
|
|
||||||
"default": "system",
|
"default": "system",
|
||||||
"help": "设置默认外观为浅色、深色或系统主题(优先使用 localStorage)"
|
"help": "设置默认外观为浅色、深色或系统主题(优先使用 localStorage)"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user