yiming
2024-04-12 4bc1c36faeec2f90e5acfa836732e49fe0b245e9
packageBookService/pages/bookServices/detail/index.js
@@ -1398,16 +1398,23 @@
  },
  updateShoppingCartHidden() {
    const isSHow = this.data.shoppingCartGetId.some(
      (item) => item == data.saleMethod[0].Id
    );
    return !isSHow;
  },
  //刷新购物车图标
  updateCloudLearning() {
    this.getBookInfo()
    this.getShoppingCartProductGet()
    const checkData = this.data.cmsDatas.find(
      (item) => item.refCode == "jsek_cloudLearning"
    );
    this.getResourceData(checkData);
  },
  // 遍历树结构转换为数组方法
  handleTreeData(array) {