修复了语言

This commit is contained in:
2020-11-10 09:55:21 +08:00
parent 73eceefbf0
commit 6f7322628e
3 changed files with 3 additions and 2 deletions

View File

@@ -97,6 +97,7 @@ export default createStore({
async setUserInfo({ commit }){
const user = await userinfo();
if(user != '未登录'){
saveValue("Lanvuage", user.languageValue);
commit('setUserInfo', user);
} else {
const info = await getaddr();