Commit 93917efe by 刘海龙

111

parent 762a2bee
...@@ -377,8 +377,10 @@ ...@@ -377,8 +377,10 @@
this.myTab = tab this.myTab = tab
if(tab == 0) { if(tab == 0) {
this.page=1 this.page=1
that.myYiZuo = []
this.loadMy() this.loadMy()
} else { } else {
that.myCollect = []
this.page=1 this.page=1
this.loadMyTi() this.loadMyTi()
} }
...@@ -505,7 +507,7 @@ ...@@ -505,7 +507,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.myCollect = [].concat(array.map( r => { let myCollect = [].concat(array.map( r => {
return { return {
id: r.question_info.exams_question_id, id: r.question_info.exams_question_id,
content: r.question_info.content, content: r.question_info.content,
......
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