Commit bf1b060f by 陈超

T

parent 85f4d344
......@@ -200,7 +200,8 @@
"&sort_type={$_GET['sort_type']}&cateId={$_GET['cateId']}",
dataType: "json",
success: function (data) {
let res = JSON.stringify(data)
that.loading = false
let res = JSON.parse(data)
let opt = that.options[2]
if(res.status) {
opt.items.push(res.data.map( r => { return {
......@@ -213,7 +214,6 @@
opt.finished = res.nowPage == res.totalPages
that.finished = res.nowPage == res.totalPages
console.log(that.finished)
that.loading = false
}
}
})
......
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