闫增涛
2025-03-28 abbd7d18ea431ee8b6b8e634abf3e8ccb1fbb1b3
packageBookService/pages/bookServices/detail/components/tree/index.js
@@ -227,7 +227,7 @@
          let buyList = []
          if (learn.length) buyList = learn.filter((item) => this.properties.buyIds.includes(item.saleMethod.find((citem) => citem.SaleType == 'Normal').Id))
          // 有父级(包含销售方式),且未购买
          if (learn.length && !buyList.length) return wx.showToast({
          if (learn.length && !buyList.length && !item.freeFile) return wx.showToast({
            icon: 'error',
            title: '请先购买该资源',
          })
@@ -266,7 +266,6 @@
      } else {
        goPlayerFun()
      }
    },
    // 拿到所有项