diff --git a/src/views/system/user/profile/userInfo.vue b/src/views/system/user/profile/userInfo.vue index 3627a286..e6ead913 100644 --- a/src/views/system/user/profile/userInfo.vue +++ b/src/views/system/user/profile/userInfo.vue @@ -2,7 +2,7 @@ - + @@ -61,7 +61,7 @@ export default { submit() { this.$refs["form"].validate(valid => { if (valid) { - updateUserProfile(this.user).then(response => { + updateUserProfile(Object.assign(this.user, { avatar: undefined })).then(response => { this.msgSuccess("修改成功"); }); }