fix: 切换语言后端国际化不生效
This commit is contained in:
parent
9a5ce9c4c8
commit
0b03cd128f
|
@ -72,6 +72,7 @@
|
||||||
this.checkLanguage(language);
|
this.checkLanguage(language);
|
||||||
this.result = this.$post("/user/update/current", user, response => {
|
this.result = this.$post("/user/update/current", user, response => {
|
||||||
localStorage.setItem(TokenKey, JSON.stringify(response.data));
|
localStorage.setItem(TokenKey, JSON.stringify(response.data));
|
||||||
|
window.location.reload();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue