Commit 1a8bfce5 by 刘海龙

111

parent e492ccb6
...@@ -377,6 +377,7 @@ ...@@ -377,6 +377,7 @@
is_buy: r.is_buy is_buy: r.is_buy
} }
})) }))
that.page ++
if(that.condition.length == 0) { if(that.condition.length == 0) {
that.condition = [{ id: '', title: '全部', select: true }].concat(res.cate.map( r => { that.condition = [{ id: '', title: '全部', select: true }].concat(res.cate.map( r => {
return { return {
...@@ -412,6 +413,7 @@ ...@@ -412,6 +413,7 @@
attach: r.attach attach: r.attach
} }
})) }))
that.page ++
if(that.condition.length == 0) { if(that.condition.length == 0) {
that.condition = [{ id: '', title: '全部', select: true }].concat(res.cate.map( r => { that.condition = [{ id: '', title: '全部', select: true }].concat(res.cate.map( r => {
return { return {
...@@ -421,7 +423,6 @@ ...@@ -421,7 +423,6 @@
} }
})) }))
} }
this.page ++
} }
} }
}) })
...@@ -445,7 +446,7 @@ ...@@ -445,7 +446,7 @@
score: r.score score: r.score
} }
})) }))
this.page ++ that.page ++
} }
} }
}) })
...@@ -471,6 +472,7 @@ ...@@ -471,6 +472,7 @@
time: new Date(r.ctime * 1000).format('yyyy-mm-dd HH:MM:ss'), time: new Date(r.ctime * 1000).format('yyyy-mm-dd HH:MM:ss'),
} }
})) }))
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