jwyu 1 년 전
부모
커밋
fb32dc7e05
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      src/views/Home.vue

+ 0 - 1
src/views/Home.vue

@@ -919,7 +919,6 @@ export default {
     // 中英文的切换
     langChangeHandler(){
        this.$i18n.locale =  this.$i18n.locale == 'zh' ? 'en' : 'zh'
-       locale.use(this.$i18n.locale == 'zh' ? langZH : langEN)
        localStorage.setItem('i18n',this.$i18n.locale)
     },
   },