diff --git a/src/views/userinfo/index.vue b/src/views/userinfo/index.vue index 5cc5f29..7931130 100644 --- a/src/views/userinfo/index.vue +++ b/src/views/userinfo/index.vue @@ -148,8 +148,10 @@ export default { background: 'rgba(0, 0, 0, 0.7)' }); paizhao_upload_header_img().then(rsp => { - this.circleUrl = process.env.VUE_APP_FACE_API + `/${rsp.data}` - this.pdata.avatar_url = rsp.data + setTimeout(() => { + this.circleUrl = process.env.VUE_APP_FACE_API + `/${rsp.data}` + this.pdata.avatar_url = rsp.data + }, 500) loading.close() this.ImgVisible = false })