修改上拉加载状态
This commit is contained in:
parent
ad430cc293
commit
1b692821e1
@ -179,9 +179,9 @@
|
||||
graphicLstApi(this.where).then(res => {
|
||||
this.cateGoods.push(...res.data.list)
|
||||
if (res.data.list.length < this.where.limit) {
|
||||
this.status == 'nomore'
|
||||
this.status = 'nomore'
|
||||
}
|
||||
res.data.list.length <= 0 ? this.emptyShow = true : this.emptyShow = false
|
||||
if (this.where.page == 1 && res.data.list.length <= 0) this.emptyShow = true
|
||||
})
|
||||
},
|
||||
/*获取分类列表*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user