mirror of
https://ghproxy.com/https://github.com/StreakingMan/solvable-sheep-game
synced 2026-07-29 19:09:30 +08:00
fix: 自定义主题编辑回显
This commit is contained in:
@@ -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') {
|
||||||
setCustomTheme(parseRes);
|
setTimeout(() => {
|
||||||
|
setCustomTheme(parseRes);
|
||||||
|
}, 300);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user