Commit 541eae88 by 刘海龙

111

parent 18b9290c
...@@ -476,8 +476,6 @@ ...@@ -476,8 +476,6 @@
dataType: "json", dataType: "json",
success: function(res) { success: function(res) {
if(res.status == 1) { if(res.status == 1) {
let that = this
that.page ++
let array = res.data.data.length > 0 ? res.data.data : [] let array = res.data.data.length > 0 ? res.data.data : []
let myYiZuo = [].concat(array.map( r => { let myYiZuo = [].concat(array.map( r => {
return { return {
...@@ -489,6 +487,7 @@ ...@@ -489,6 +487,7 @@
} }
})) }))
that.myYiZuo = that.myYiZuo.concat(myYiZuo) that.myYiZuo = that.myYiZuo.concat(myYiZuo)
that.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