Commit 945c0d0d by 陈超

A

parent 2e42a1cb
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
dataType: "json", dataType: "json",
success: function(data) { success: function(data) {
that.loading = false that.loading = false
let array = data.data.length > 0 ? data.data : [], let array = data.data.length > 0 ? data.data : []
if(array.length > 0) { if(array.length > 0) {
opt.page += 1 opt.page += 1
opt.items = opt.items.concat(array.map( r => { opt.items = opt.items.concat(array.map( r => {
......
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