Commit 89a3a08b authored by fwz's avatar fwz

头像上传

parent 9ecba1f5
...@@ -227,7 +227,7 @@ export default { ...@@ -227,7 +227,7 @@ export default {
if (res.data.code == 200) { if (res.data.code == 200) {
this.userInfo = res.data.data this.userInfo = res.data.data
if(this.userInfo.avatar){ if(this.userInfo.avatar){
this.avatar = this.http.baseUrl + this.userInfo.avatar this.avatar = this.userInfo.avatar
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment