From 65027fceba6898ccb78389f4c81d4ac50af6fc65 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Fri, 11 Mar 2022 11:30:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AE=BE=E7=BD=AE=E8=BF=81?= =?UTF-8?q?=E7=A7=BB=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/utils.js b/src/common/utils.js index 43a5b7cd..f6b8e97d 100644 --- a/src/common/utils.js +++ b/src/common/utils.js @@ -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 }