提交 bbbeca3e 编写于 作者: KK's avatar KK

注册语言包位置调整

上级 97a18c62
......@@ -8,6 +8,9 @@ import { Environment } from '@/environments/environment';
</#assign>
<#assign created_lang>
localStorage.setItem('lanArray',JSON.stringify(["ZH-CN","EN-US"]));
import('@/locale/lang/zh-CN').then((res:any) =>{
this.$i18n.setLocaleMessage('ZH-CN',res.default);
})
</#assign>
<#ibizinclude>
../@MACRO/LAYOUTPANEL_VIEW.template.ftl
......
......@@ -122,9 +122,6 @@ export default class App extends Vue {
*/
public created(){
this.setThirdPartyPath();
import('@/locale/lang/zh-CN').then((res:any) =>{
this.$i18n.setLocaleMessage('ZH-CN',res.default);
})
}
}
</script>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册