Browse Source

Merge branch 'pc2.1'

jwyu 2 years ago
parent
commit
3d626e975e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/user/SetUserInfo.vue

+ 1 - 1
src/views/user/SetUserInfo.vue

@@ -32,7 +32,7 @@ const handleAvatarSuccess=(e)=>{
         res=e
         res=e
     }
     }
     if(res.code===200){
     if(res.code===200){
-        formData.avatar=e.data
+        formData.avatar=res.data
     }
     }
 }
 }