修改云仓商品列表和批发商品列表

This commit is contained in:
luofei 2024-04-12 14:19:51 +08:00
parent ac280a5446
commit c722ebd9b3
2 changed files with 4 additions and 0 deletions

View File

@ -392,6 +392,8 @@
if (this.isLoading == -1) return;
this.isLoading = 1;
getProductslist(this.where).then(res => {
this.where.limit = res.data.limit
this.where.page = res.data.page
uni.stopPullDownRefresh();
this.hostProduct = [...this.hostProduct, ...res.data.list];
this.isLoading = 0;

View File

@ -689,6 +689,8 @@
if (this.isLoading == -1) return;
this.isLoading = 1;
getProductslist(this.where, true).then(res => {
this.where.limit = res.data.limit
this.where.page = res.data.page
if (stop) uni.stopPullDownRefresh();
if (reLoad) this.hostProduct = [];
this.hostProduct = [...this.hostProduct, ...res.data.list];