This commit is contained in:
yuping
2023-01-16 00:54:10 +08:00
parent 762568ae8b
commit e974670cf0
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ onMounted(() => {
function getUserInfo() {
if(import.meta.env.MODE ==='development' || import.meta.env.MODE ==='test'){
request(USER_INFO,{}).then(res=>{
store.commit("SET_USER", res.data.result);
store.commit("SET_USER", res.data);
})
}else{
boeRequest(GET_USER_INFO).then((res) => {