From 34d03aa47dccf65ca0e6a60407c9b01a9d9272ed Mon Sep 17 00:00:00 2001 From: DCloud_LXH <283700113@qq.com> Date: Mon, 6 Jun 2022 17:37:23 +0800 Subject: [PATCH] fix: i18n getLocale --- src/core/helpers/i18n/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/helpers/i18n/index.js b/src/core/helpers/i18n/index.js index c37cdaa88..f590be15c 100644 --- a/src/core/helpers/i18n/index.js +++ b/src/core/helpers/i18n/index.js @@ -101,7 +101,7 @@ export function initAppLocale (Vue, appVm, locale) { } Object.defineProperty(appVm, '$locale', { get () { - return normalizeLocale(state.locale) + return state.locale }, set (v) { state.locale = v -- GitLab