修改上拉加载状态

This commit is contained in:
cc_zbp 2023-06-02 16:48:53 +08:00
parent ad430cc293
commit 1b692821e1

View File

@ -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
})
},
/*获取分类列表*/