From 0197778af12ba240aa0e1a29b660193410d45356 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Mon, 6 Feb 2023 22:35:56 +0800 Subject: [PATCH] Fix change language issue in the setup page --- src/pages/Setup.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/pages/Setup.vue b/src/pages/Setup.vue index cba7f8fce..cd2d149cd 100644 --- a/src/pages/Setup.vue +++ b/src/pages/Setup.vue @@ -14,7 +14,7 @@

- @@ -59,9 +59,7 @@ export default { }; }, watch: { - "$i18n.locale"() { - localStorage.locale = this.$i18n.locale; - }, + }, mounted() { this.$root.getSocket().emit("needSetup", (needSetup) => {