Commit e1de88e5 by 陈超

T

parent 71cbfbdc
...@@ -203,20 +203,16 @@ ...@@ -203,20 +203,16 @@
that.loading = false that.loading = false
let res = data let res = data
let opt = that.options[2] let opt = that.options[2]
console.log(res) opt.items.push(res.data.map( r => { return {
that.finished = true uid: r.uid,
if(res.status) { title: r.title,
opt.items.push(res.data.map( r => { return { cover: r.cover,
uid: r.uid, price: r.price
title: r.title, }}))
cover: r.cover, opt.page = res.nowPage
price: r.price opt.finished = res.nowPage == res.totalPages
}})) that.finished = res.nowPage == res.totalPages
opt.page = res.nowPage console.log(that.finished)
opt.finished = res.nowPage == res.totalPages
that.finished = res.nowPage == res.totalPages
console.log(that.finished)
}
} }
}) })
} }
......
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