This commit is contained in:
wenyann 2020-05-14 19:03:33 +08:00
parent 204493ecd3
commit 1252568220
1 changed files with 1 additions and 2 deletions

View File

@ -109,10 +109,9 @@
saveLocalStorage(response); saveLocalStorage(response);
let language = response.data.language; let language = response.data.language;
if (language == "") { if (!language) {
this.$get("language", response => { this.$get("language", response => {
language = response.data language = response.data
this.$setLang(language);
this.changeLanguage(); this.changeLanguage();
}) })
} }