闫增涛
2024-12-23 c5ee0e9d22473f3fd96f442724058dd297fec97c
购物车内题库显示问题
2个文件已修改
4 ■■■■ 已修改文件
packageBookService/pages/bookServices/examination/examination.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/cart/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageBookService/pages/bookServices/examination/examination.js
@@ -2460,7 +2460,7 @@
      // 做完了且加入了班级,提交到message
      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()
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 = '云学习'