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