Fix(商城小程序):[#5175] 用户在小程序客服页面发送商品卡片后,点击进入该商品卡片详情页,再返回客服页面时,系统会自动重复弹出一条相同的商品卡片。

This commit is contained in:
linxi
2026-05-08 09:33:34 +08:00
parent a54b674e6f
commit ebe76499a5
+1 -1
View File
@@ -137,6 +137,7 @@ export default {
onShow() {
this.content = uni.getStorageSync(this.merName+this.uid+this.storeId)
this.connectSocketInit();
this.list = []
},
onUnload() {
if (this.socketOpen) {
@@ -158,7 +159,6 @@ export default {
},
methods: {
toGoods(item) {
console.log(item);
const itemJson = JSON.parse(item.msg_content)
if(!itemJson.goodsId) {
// 提示数据错误