Commit b0993422 by 刘海龙

111

parent 7a0fec3f
...@@ -272,7 +272,7 @@ ...@@ -272,7 +272,7 @@
if(this.tab == 0) { if(this.tab == 0) {
return this.zhenti return this.zhenti
} else if(this.tab == 1) { } else if(this.tab == 1) {
return this.download // return this.download
} else { } else {
return this.myTab == 0 ? this.myYiZuo : this.myCollect return this.myTab == 0 ? this.myYiZuo : this.myCollect
} }
...@@ -439,7 +439,7 @@ ...@@ -439,7 +439,7 @@
success: function(res) { success: function(res) {
if(res.status == 1) { if(res.status == 1) {
let array = res.data.data.length > 0 ? res.data.data : [] let array = res.data.data.length > 0 ? res.data.data : []
that.download = array.concat(array.map( r => { that.download = [].concat(array.map( r => {
return { return {
id: r.exams_paper_id, id: r.exams_paper_id,
title: r.exams_paper_title, title: r.exams_paper_title,
......
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