|
@@ -529,7 +529,7 @@ export default {
|
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
|
if(resp.code == 1) {
|
|
if(resp.code == 1) {
|
|
|
this.$msg('头像更新成功')
|
|
this.$msg('头像更新成功')
|
|
|
- this.myInfo.smallShopImg = resp.data.smallShopImg
|
|
|
|
|
|
|
+ this.myInfo.smallShopImg = resp.data.shopImg
|
|
|
this.$refs.avatarPopup.close()
|
|
this.$refs.avatarPopup.close()
|
|
|
} else {
|
|
} else {
|
|
|
this.$msg(resp.msg || '头像更新失败')
|
|
this.$msg(resp.msg || '头像更新失败')
|