소스 검색

默认中文

jwyu 1 년 전
부모
커밋
85181ee72c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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';