提交 de742839 编写于 作者: C Captain.B

use _ instead of -

上级 96c26798
......@@ -9,24 +9,24 @@ import zh_CN from "./zh-CN";
Vue.use(VueI18n);
const messages = {
'en-US': {
'en_US': {
...enLocale
},
'zh-CN': {
'zh_CN': {
...zh_CN,
...zh_CNLocale
},
'zh-TW': {
'zh_TW': {
...zh_TWLocale
}
};
const i18n = new VueI18n({
locale: 'zh-CN',
locale: 'zh_CN',
messages,
});
const loadedLanguages = ['zh-CN'];
const loadedLanguages = ['zh_CN'];
function setI18nLanguage(lang) {
i18n.locale = lang;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册