提交 d600460c 编写于 作者: D DCloud_LXH 提交者: qiang

fix: i18n getLocale

上级 c7b309a6
......@@ -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.
先完成此消息的编辑!
想要评论请 注册