Commit f4753736 by 刘海龙

111

parent 45c613c4
<include file="__THEME__/public_header_w3g" />
<include file="__THEME__/public_header_w3g" />
......@@ -311,7 +311,7 @@
// if (item.attach) {
// window.location.href = item.attach;
// }
// console.log(item.attach)
// console.log(item.attach)
var link = document.createElement('a');
console.log(this.download[index].title)
// 设置下载的文件名
......
......@@ -264,15 +264,15 @@
},
computed: {
// currentItems: function() {
// if(this.tab == 0) {
// return this.zhenti
// } else if(this.tab == 1) {
// return this.download
// } else {
// return this.myTab == 0 ? this.myYiZuo : this.myCollect
// }
// },
currentItems: function() {
if(this.tab == 0) {
return this.zhenti
} else if(this.tab == 1) {
return this.download
} else {
return this.myTab == 0 ? this.myYiZuo : this.myCollect
}
},
selectedCondition: function() {
return this.condition.filter( r => { return r.id != '' && r.select })
},
......
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