Commit 0244f306 by 刘海龙

no message

parent 2b7b08d0
...@@ -418,6 +418,8 @@ ...@@ -418,6 +418,8 @@
url: "{:U('exams/Index/paper')}" + "&api=1&c=" + that.conditionId +"&p=" + this.page, url: "{:U('exams/Index/paper')}" + "&api=1&c=" + that.conditionId +"&p=" + this.page,
dataType: "json", dataType: "json",
success: function(res) { success: function(res) {
console.log("总页数:"+res.data.totalPages*1)
console.log("当前页数:"+that.page)
if(that.page<res.data.totalPages*1||that.page==res.data.totalPages*1){ if(that.page<res.data.totalPages*1||that.page==res.data.totalPages*1){
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 : []
...@@ -459,6 +461,8 @@ ...@@ -459,6 +461,8 @@
url: "{:U('exams/Index/paper')}" + "&api=2&c=" + that.conditionId +"&p=" + this.page, url: "{:U('exams/Index/paper')}" + "&api=2&c=" + that.conditionId +"&p=" + this.page,
dataType: "json", dataType: "json",
success: function(res) { success: function(res) {
console.log("总页数:"+res.data.totalPages*1)
console.log("当前页数:"+that.page)
if(that.page<res.data.totalPages*1||that.page==res.data.totalPages*1){ if(that.page<res.data.totalPages*1||that.page==res.data.totalPages*1){
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 : []
......
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