fix: Login.vue 控制台报错
This commit is contained in:
parent
6604834cbf
commit
9d88665a1a
|
@ -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 = "/"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue