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

---
 pages/cart/index.js                                              |    2 +-
 packageBookService/pages/bookServices/examination/examination.js |    2 +-
 2 files changed, 2 insertions(+), 2 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()
diff --git a/pages/cart/index.js b/pages/cart/index.js
index b36954d..889a690 100644
--- a/pages/cart/index.js
+++ b/pages/cart/index.js
@@ -131,7 +131,7 @@
 
           if (item.saleMethod.type == 'createProductItemSaleMethod' || item.saleMethod.type == 'createProductFolderSaleMethod') {
             if (item.linkCmsItems[0].refCode == 'questionBank') {
-              item.type = '浜戞祴璇�'
+              item.typeTxt = '浜戞祴璇�'
               item.productType = '鍥句功鏈嶅姟-浜戞祴璇�'
             } else {
               item.typeTxt = '浜戝涔�'

--
Gitblit v1.9.1