From c5ee0e9d22473f3fd96f442724058dd297fec97c Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期一, 23 十二月 2024 10:20:38 +0800
Subject: [PATCH] 购物车内题库显示问题

---
 packageBookService/pages/bookServices/examination/examination.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/packageBookService/pages/bookServices/examination/examination.js b/packageBookService/pages/bookServices/examination/examination.js
index 357ec3c..320d1a5 100644
--- a/packageBookService/pages/bookServices/examination/examination.js
+++ b/packageBookService/pages/bookServices/examination/examination.js
@@ -2460,7 +2460,7 @@
       // 鍋氬畬浜嗕笖鍔犲叆浜嗙彮绾э紝鎻愪氦鍒癿essage
       if (this.data.classList.length && this.data.joinGroup) {
         this.data.classList.forEach(item => {
-          if (item.linkProductDto.product.id == this.data.bookId)
+          if (item.linkProductDto.product.id == this.data.bookId && item.topicId)
             this.newTopicMessage(item.topicId)
         })
         this.setinteractionInfo()

--
Gitblit v1.9.1