From 668c0a4058510a6022be06818540ba89778a5486 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期一, 09 九月 2024 14:31:22 +0800 Subject: [PATCH] bug --- packageDomain/pages/resourceDetails/myAudio/index.js | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/packageDomain/pages/resourceDetails/myAudio/index.js b/packageDomain/pages/resourceDetails/myAudio/index.js index d87cef4..9c6860f 100644 --- a/packageDomain/pages/resourceDetails/myAudio/index.js +++ b/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) { -- Gitblit v1.9.1