fix: 🐛 买家端buyer im传值优化

This commit is contained in:
学习很差啦
2023-03-01 15:25:00 +08:00
parent 2aa7b67b7a
commit 40ccbf3edb
3 changed files with 8 additions and 4 deletions

View File

@@ -22,7 +22,7 @@
<Icon type="ios-heart" :color="storeCollected ? '#ed3f14' : '#666'" />
{{ storeCollected? "已收藏店铺": "收藏店铺" }}
</span>
<span class="ml_10" @click="IMService()">联系客服</span>
<span class="ml_10" @click="IMService(goodsMsg.data.storeId)">联系客服</span>
</div>
</div>
</div>
@@ -127,11 +127,13 @@ export default {
}
});
}
if (!this.storeMsg) {
// 获取店铺信息
getDetailById(this.goodsMsg.data.storeId).then((res) => {
if (res.success) {
this.storeMsg = res.result;
}
});
}