bug
litian
2024-09-09 668c0a4058510a6022be06818540ba89778a5486
packageDomain/pages/resourceDetails/myAudio/index.js
@@ -30,6 +30,7 @@
    parentProductLinkPath: '',
    productLinkPath: '',
    threeLeveData: [],
    source: "",
    showData: '',
    src: '',
    selectedId: null,
@@ -99,7 +100,8 @@
      cmsId: options.cmsId,
      parentProductLinkPath: options.parentProductLinkPath,
      productLinkPath: options.productLinkPath,
      formPath: options.formPath
      formPath: options.formPath,
      source: options.source,
    })
    if (options.parentName !== "教学资源" && options.parentName !== "云学习") {
@@ -282,9 +284,16 @@
      let titleName = '';
      res.datas.cmsDatas[0].datas.forEach((item, index) => {
        if (item.selectType === "audio" || item.learnSelectType === "audio") {
          this.data.threeLeveData.push(item);
        if (this.data.source == 'qrcode') {
          if (item.id == this.data.activeId) {
            this.data.threeLeveData.push(item);
          }
        } else {
          if (item.selectType === "audio" || item.learnSelectType === "audio") {
            this.data.threeLeveData.push(item);
          }
        }
      });
      this.data.threeLeveData.forEach((items, indexs) => {
        if (this.data.productLinkPath == items.productLinkPath) {