mirror of
https://ghproxy.com/https://github.com/StreakingMan/solvable-sheep-game
synced 2026-07-29 16:06:37 +08:00
fix: 自定义主题编辑回显
This commit is contained in:
@@ -251,7 +251,9 @@ const ConfigDialog: FC<{
|
||||
if (configString) {
|
||||
const parseRes = JSON.parse(configString);
|
||||
if (typeof parseRes === 'object') {
|
||||
setCustomTheme(parseRes);
|
||||
setTimeout(() => {
|
||||
setCustomTheme(parseRes);
|
||||
}, 300);
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user