Commit feb9f9d3 by 刘海龙

no message

parent 34c6cb90
......@@ -471,10 +471,11 @@
let that = this
$.ajax({
type: "GET",
url: "{:U('home/Home/exams')}" + "?api=1" +"&p=" + that.page,
url: "{:U('home/Home/exams')}" + "?api=1" +"&p=" + this.page,
dataType: "json",
success: function(res) {
if(res.status == 1) {
console.log("加载我做过的题")
let array = res.data.data.length > 0 ? res.data.data : []
let myYiZuo = [].concat(array.map( r => {
return {
......@@ -486,7 +487,7 @@
}
}))
that.myYiZuo = that.myYiZuo.concat(myYiZuo)
that.page ++
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