mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-10 19:36:48 +08:00
-- bug
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user