Commit 6b6b780d by 刘海龙

1111

parent 684d103e
......@@ -197,7 +197,8 @@
zhenti: [],
download: [],
myYiZuo: [],
myCollect: []
myCollect: [],
page: 1
}
},
created:function() {
......@@ -364,7 +365,7 @@
let that = this
$.ajax({
type: "GET",
url: "{:U('exams/Index/paper')}" + "&api=2&c=" + that.conditionId,
url: "{:U('exams/Index/paper')}" + "&api=2&c=" + that.conditionId +"&page=" + this.page,
dataType: "json",
success: function(res) {
if(res.status == 1) {
......@@ -390,6 +391,7 @@
}
}))
}
this.page ++
}
}
})
......@@ -399,7 +401,7 @@
let that = this
$.ajax({
type: "GET",
url: "{:U('home/Home/exams')}" + "?api=1",
url: "{:U('home/Home/exams')}" + "?api=1" +"&page=" + this.page,
dataType: "json",
success: function(res) {
if(res.status == 1) {
......@@ -413,6 +415,7 @@
score: r.score
}
}))
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