|
@@ -299,12 +299,12 @@ export default {
|
|
|
init() {
|
|
|
api.yelp().then(res => {
|
|
|
if(res.code == 200) {
|
|
|
- this.yelpNum = res.data || 0
|
|
|
+ this.yelpNum = res.data < 99 ? res.data : 99
|
|
|
}
|
|
|
})
|
|
|
api.approve().then(res => {
|
|
|
if(res.code == 200) {
|
|
|
- this.approveNum = res.data || 0
|
|
|
+ this.approveNum = res.data < 99 ? res.data : 99
|
|
|
}
|
|
|
})
|
|
|
api.categories().then(res => {
|