From 5f1705fad1c3529f0edb9b7e8c5665e5a9e7b8ed Mon Sep 17 00:00:00 2001 From: chenjinsong <523037378@qq.com> Date: Thu, 21 Sep 2023 11:34:50 +0800 Subject: [PATCH] =?UTF-8?q?CN-1307=20fix:=20=E5=9B=9E=E9=80=80=E4=B8=8A?= =?UTF-8?q?=E6=AC=A1=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/administration/Appearance.vue | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/views/administration/Appearance.vue b/src/views/administration/Appearance.vue index ac406c04..308af6cd 100644 --- a/src/views/administration/Appearance.vue +++ b/src/views/administration/Appearance.vue @@ -174,10 +174,6 @@ export default { localStorage.setItem(storageKey.timezoneOffset, window.$dayJs.tz().utcOffset() / 60) localStorage.setItem(storageKey.timezoneLocalOffset, dayjs().utcOffset() / 60) } - if (this.appearanceObject.lang !== localStorage.getItem(storageKey.language)) { - localStorage.setItem(storageKey.language, this.appearanceObject.lang) - } - window.location.reload() } else { this.$message.error(response.message) }