修复设置迁移问题
This commit is contained in:
parent
2b0c75a649
commit
65027fceba
@ -164,7 +164,7 @@ exports.initSetting = isShowErrorAlert => {
|
||||
}
|
||||
|
||||
// 迁移v1.19.0之前的主题设置
|
||||
if (setting.themeId) {
|
||||
if (setting.themeId != null) {
|
||||
setting.theme.id = setting.themeId
|
||||
delete setting.themeId
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user