Lijy 2 years ago
parent
commit
fa4d791d36
1 changed files with 3 additions and 0 deletions
  1. 3 0
      fhKeeper/formulahousekeeper/timesheet/src/views/Login.vue

+ 3 - 0
fhKeeper/formulahousekeeper/timesheet/src/views/Login.vue

@@ -146,6 +146,9 @@
             if(urls.indexOf('english=1') != '-1' && localStorage.getItem('lang') != 'en') {
                 this.setlangChange()
                 location.reload()
+            } else {
+                localStorage.setItem("lang", 'zh')
+                location.reload()
             }
         },
         methods: {