Commit 65843ab5 by 冷斌

fix bug

parent 0b65910d
...@@ -193,16 +193,16 @@ ...@@ -193,16 +193,16 @@
</van-tabbar> </van-tabbar>
<!-- 下载预览提示 --> <!-- 下载预览提示 -->
<div class="yulanBox"> <!-- <div class="yulanBox">-->
<div class="tips_box"> <!-- <div class="tips_box">-->
<div class="tips_title">提示</div> <!-- <div class="tips_title">提示</div>-->
<div class="tips_body">套餐下架后用户便无法找到该商品进行购买,你确定要下架吗?</div> <!-- <div class="tips_body">套餐下架后用户便无法找到该商品进行购买,你确定要下架吗?</div>-->
<div class="tips_foot"> <!-- <div class="tips_foot">-->
<div class="tips_foot_L">下载预览</div> <!-- <div class="tips_foot_L">下载预览</div>-->
<div class="tips_foot_R">下载全部</div> <!-- <div class="tips_foot_R">下载全部</div>-->
</div> <!-- </div>-->
</div> <!-- </div>-->
</div> <!-- </div>-->
</div> </div>
...@@ -333,9 +333,7 @@ ...@@ -333,9 +333,7 @@
// if (item.attach) { // if (item.attach) {
// window.location.href = item.attach; // window.location.href = item.attach;
// } // }
// console.log(item.attach)
var link = document.createElement('a'); var link = document.createElement('a');
console.log(this.download[index].title)
// 设置下载的文件名 // 设置下载的文件名
link.download = this.download[index].title; link.download = this.download[index].title;
link.style.display = 'none'; link.style.display = 'none';
...@@ -387,8 +385,6 @@ ...@@ -387,8 +385,6 @@
dataType: "json", dataType: "json",
success: function(res) { success: function(res) {
if(res.status == 1) { if(res.status == 1) {
console.log(res)
console.log(that.zhenti )
let array = res.data.data.length > 0 ? res.data.data : [] let array = res.data.data.length > 0 ? res.data.data : []
that.zhenti = [].concat(array.map( r => { that.zhenti = [].concat(array.map( r => {
return { return {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment