Lijy 2 năm trước cách đây
mục cha
commit
2b8dc81ee0
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      fhKeeper/formulahousekeeper/timesheet/src/views/Login.vue

+ 2 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/Login.vue

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