From e75d4ef867dd26d276b46cd78ed2b2797b9816e1 Mon Sep 17 00:00:00 2001 From: ninstein Date: Sat, 29 May 2021 00:51:46 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=E4=B8=8A=E4=BC=A0=E5=A4=B4=E5=83=8F?= =?UTF-8?q?=E5=90=8E=E6=98=BE=E7=A4=BA=E6=9C=89=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit img URL拼接有误 --- src/views/profile/userAvatar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/profile/userAvatar.vue b/src/views/profile/userAvatar.vue index 20503cd7..1f760cc2 100644 --- a/src/views/profile/userAvatar.vue +++ b/src/views/profile/userAvatar.vue @@ -119,7 +119,7 @@ export default { uploadAvatar(formData).then(response => { if (response.code === 200) { this.open = false - this.options.img = process.env.VUE_APP_BASE_API + response.data + this.options.img = process.env.VUE_APP_BASE_API + '/' + response.data this.msgSuccess('修改成功') } else { this.msgError(response.msg)