Browse Source

默认中文

jwyu 1 year ago
parent
commit
85181ee72c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main.js

+ 1 - 1
src/main.js

@@ -32,7 +32,7 @@ Vue.use(VueRouter);
 Vue.use(Vuex);
 
 // 设置element语言
-locale.use(localStorage.getItem('i18n')=='zh' ? langZH : langEN)
+locale.use(localStorage.getItem('i18n')!='zh' ?  langEN:langZH )
 
 import{endCalc,optionTimeCalc,init}from'@/utils/TimeOnPage.js';