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

This commit is contained in:
linxi
2025-04-02 11:01:01 +08:00
parent 2a274766a1
commit 8c85c4465e
+1 -1
View File
@@ -129,7 +129,7 @@ export default {
this.content = uni.getStorageSync(this.merName+this.uid+this.storeId)
this.connectSocketInit()
},
onUnload() {
onHide() {
if (this.socketOpen) {
this.socketTask.close();
}