修复了语言

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

@@ -31,7 +31,7 @@ export async function loginpass(phone: string, password: string,type?: number,sm
}else{
setToken();
store.commit("login", true);
store.dispatch("setUserInfo");
await store.dispatch("setUserInfo");
await router.push("/mine/archives")
location.reload();
}