7015725
49d73786bf
fix: 修复主题模板在设置页预览时不生效的问题
根因: applyThemeTemplate 读/写 this.config,但设置页预览
走的是 pendingUserCfg(临时编辑缓存),模板值在选择后只写入了
pendingUserCfg.THEME_TEMPLATE,applyThemeTemplate 读 this.config
则一直为 system/d 返回,导致模板不生效。
修复:
- applyThemeTemplate 接受 preview 参数,预览态从 pendingUserCfg
读写,非预览态从 this.config 读写
- getPanelBgColorInt/getPanelTextColorInt 预览态优先从
pendingUserCfg 读取那4个颜色配置
2026-05-15 02:00:25 +08:00
..
2026-05-15 01:56:58 +08:00
2026-05-14 03:10:25 +08:00
2026-04-21 07:42:23 +08:00
2026-05-15 02:00:25 +08:00
2026-05-07 22:42:06 +08:00
2026-04-21 07:42:23 +08:00
2026-04-21 07:42:23 +08:00
2026-04-21 07:42:23 +08:00
2026-05-14 18:44:57 +08:00
2026-04-20 12:32:55 +08:00
2026-05-12 10:24:30 +08:00
2026-04-21 07:42:23 +08:00
2026-05-14 23:24:48 +08:00
2026-05-14 23:30:38 +08:00
2026-05-14 23:30:38 +08:00
2026-05-12 10:24:30 +08:00