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