提交 34d03aa4 编写于 作者: D DCloud_LXH

fix: i18n getLocale

上级 7b4809e8
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册