提交 9e53d01b 编写于 作者: fxy060608's avatar fxy060608

fix(mp): remove built-in i18n messages

上级 c0fb6126
......@@ -16,12 +16,16 @@ import fr from './fr.json'
import zhHans from './zh-Hans.json'
import zhHant from './zh-Hant.json'
const messages = {
en,
es,
fr,
'zh-Hans': zhHans,
'zh-Hant': zhHant
const messages = {}
if (__PLATFORM__ === 'h5' || __PLATFORM__ === 'app-plus') {
Object.assign(messages, {
en,
es,
fr,
'zh-Hans': zhHans,
'zh-Hant': zhHant
})
}
let locale
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册