| | |
| | | this.data.threeLeveData.push(item); |
| | | } |
| | | |
| | | if (this.data.productLinkPath == item.productLinkPath) { |
| | | selectedId = index; |
| | | } |
| | | }); |
| | | |
| | | }); |
| | | console.log(this.data.threeLeveData); |
| | | this.data.threeLeveData.forEach((items, indexs) => { |
| | | if (this.data.productLinkPath == items.productLinkPath) { |
| | | selectedId = indexs; |
| | | |
| | | } |
| | | }) |
| | | if (selectedId !== -1) { |
| | | let datas = this.data.threeLeveData[selectedId]; |
| | | |
| | | if (this.data.formPath == 'jsek_cloudLearning') { |
| | | showDataUrl = app.config.requestCtx + '/file/api/ApiDownloadForAuthorize?md5=' + datas.protectedFile + '&token=' + wx.getStorageSync(app.config.tokenKey); |
| | | } else { |
| | | console.log(datas); |
| | | showDataUrl = app.config.requestCtx + '/file/api/ApiDownload?md5=' + datas.file; |
| | | } |
| | | titleName = datas.name; |