fix: 自定义主题编辑回显

This commit is contained in:
streakingman 2022-11-04 10:11:12 +08:00
parent 58bff1ce98
commit ffabf6805f

View File

@ -251,7 +251,9 @@ const ConfigDialog: FC<{
if (configString) {
const parseRes = JSON.parse(configString);
if (typeof parseRes === 'object') {
setTimeout(() => {
setCustomTheme(parseRes);
}, 300);
}
}
} catch (e) {