|
@@ -12,7 +12,7 @@ import mainStatistics from '@/pages/Charts/mainStatistics';
|
|
Vue.use(VueI18n)
|
|
Vue.use(VueI18n)
|
|
Vue.config.productionTip = !!env.isProduction;
|
|
Vue.config.productionTip = !!env.isProduction;
|
|
const i18n = new VueI18n({
|
|
const i18n = new VueI18n({
|
|
- locale: 'zh-CN', // 默认选择的语言
|
|
|
|
|
|
+ locale: 'en-US', // 默认选择的语言
|
|
messages: {
|
|
messages: {
|
|
'zh-CN': zh, // 中文语言包
|
|
'zh-CN': zh, // 中文语言包
|
|
'en-US': en // 英文语言包
|
|
'en-US': en // 英文语言包
|
|
@@ -36,4 +36,4 @@ Object.keys(apis).forEach(key => {
|
|
Vue.prototype[`$${key}`] = apis[key];
|
|
Vue.prototype[`$${key}`] = apis[key];
|
|
});
|
|
});
|
|
|
|
|
|
-Vue.component('mainStatistics', mainStatistics);
|
|
|
|
|
|
+Vue.component('mainStatistics', mainStatistics);
|