From 3544fe5bfab83cf5b35a6f998c45faf3dd7d2a18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Chuailei000=E2=80=9D?= <2280131253@qq.com> Date: Thu, 14 Jul 2022 14:39:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=97=A0=E7=97=95?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E4=B8=8B=E5=85=B6=E4=BB=96=E7=BB=84=E7=BB=87?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E6=96=B0=E7=94=A8=E6=88=B7=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E6=9D=83=E9=99=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/settings.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/store/modules/settings.js b/src/store/modules/settings.js index bf28e88ee..fdd29ec26 100644 --- a/src/store/modules/settings.js +++ b/src/store/modules/settings.js @@ -60,9 +60,8 @@ const actions = { document.title = data['INTERFACE']['login_title'] } const themeColors = data?.INTERFACE?.theme_info?.colors || {} - changeThemeColors(themeColors).then(() => { - commit('SET_PUBLIC_SETTINGS', data) - }) + commit('SET_PUBLIC_SETTINGS', data) + changeThemeColors(themeColors) resolve(response) }).catch(error => { reject(error)