fix: Login.vue 控制台报错

This commit is contained in:
chenjianxing 2020-08-26 21:31:39 +08:00
parent 6604834cbf
commit 9d88665a1a
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@
} }
} else { } else {
let user = response.data.data; let user = response.data.data;
saveLocalStorage(user); saveLocalStorage(response.data);
this.getLanguage(user.language); this.getLanguage(user.language);
window.location.href = "/" window.location.href = "/"
} }