Fix:3156 【商城小程序】客服消息--点击商品卡片跳转到商品详情页,在商品详情页中点击“客服”,聊天记录显示空白

This commit is contained in:
linxi
2025-03-18 11:48:43 +08:00
parent 89b94a71dc
commit b148b7b869
+3 -1
View File
@@ -812,6 +812,7 @@ export default {
})
},
goRoom() {
console.log(this.systemStore);
const params = {
goodsId: this.id,
goodsName: this.attr.productSelect.store_name,
@@ -822,8 +823,9 @@ export default {
goodsData: '',
seckillData: ''
}
const name = this.systemStore && this.systemStore.name || this.storeInfo.merName
uni.navigateTo({
url: `/pkg_common/views/room?id=${this.storeInfo.merId}&name=${this. systemStore.name}&params=${JSON.stringify(params)}`
url: `/pkg_common/views/room?id=${this.storeInfo.merId}&name=${name}&params=${JSON.stringify(params)}`
})
},
goodsDetail(item) {