Commit 3f1e1b9b by 刘海龙

111

parent feb9f9d3
......@@ -475,7 +475,8 @@
dataType: "json",
success: function(res) {
if(res.status == 1) {
console.log("加载我做过的题")
let that = this
that.page ++
let array = res.data.data.length > 0 ? res.data.data : []
let myYiZuo = [].concat(array.map( r => {
return {
......@@ -487,7 +488,6 @@
}
}))
that.myYiZuo = that.myYiZuo.concat(myYiZuo)
this.page ++
}
}
})
......
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