@@ -129,6 +129,7 @@ export default {
if (response.code === 200) {
this.open = false;
this.options.img = response.imgUrl;
+ this.user.avatar = response.imgUrl;
store.commit('SET_AVATAR', this.options.img);
this.msgSuccess("修改成功");
}