1
YM
2024-09-10 e38c14de9637d22d0a35ae06bede82dcf31b64ec
packageBookService/pages/bookServices/detail/buyResource/index.js
@@ -19,7 +19,6 @@
    checkAllState: true,
    productLinkPath: '',
    refCode: '',
    haider: false,
    naData: false,
    bookRefCode: []
  },
@@ -256,7 +255,6 @@
        return this.setData({
          noResources: true,
          loading: false,
          haider: true,
        });
      }
      let list = []
@@ -289,7 +287,6 @@
        //     noData: true
        //   })
        // }
        // debugger
        const num = query.cmsPath.length + 6
        this.getTreeList(res.datas.cmsDatas[0].datas, num, list, '\\')
        list = this.ensureTreeConsistency(list)
@@ -319,7 +316,6 @@
            learn: list,
            loading: false,
            openLearnids: result,
            haider: true,
          });
        }
      }
@@ -361,7 +357,6 @@
          return this.setData({
            noResources: true,
            loading: false,
            haider: true,
          });
        }
        //教学资源 云学习
@@ -378,7 +373,6 @@
              this.setData({
                teach: list,
                loading: false,
                haider: true
              });
              this.findChildIds(this.data.teach, (this.data.openTeachids = []));
            } else if (type.refCode == "jsek_cloudLearning") {
@@ -391,7 +385,6 @@
                learn: list,
                loading: false,
                openLearnids: result,
                haider: true
              });
            }
            console.log(list, '云學習');
@@ -403,7 +396,6 @@
          this.setData({
            test: res.datas.cmsDatas[0].datas,
            loading: false,
            haider: true
          });
        } else {
          console.log("其他");