|
@@ -310,12 +310,14 @@
|
|
that.$set(that, `skip`, skip)
|
|
that.$set(that, `skip`, skip)
|
|
that.searchAct();
|
|
that.searchAct();
|
|
uni.hideLoading();
|
|
uni.hideLoading();
|
|
- } else {
|
|
|
|
that.$set(that, 'change', true);
|
|
that.$set(that, 'change', true);
|
|
- uni.showToast({
|
|
|
|
- title: '没有更多优惠商品了',
|
|
|
|
- icon: 'none'
|
|
|
|
- })
|
|
|
|
|
|
+ } else if (that.total == list.length) {
|
|
|
|
+ that.$set(that, `actList`, [])
|
|
|
|
+ that.$set(that, `skip`, 0)
|
|
|
|
+ that.$set(that, `limit`, 5)
|
|
|
|
+ that.$set(that, `page`, 0)
|
|
|
|
+ that.$set(that, `change`, false)
|
|
|
|
+ that.searchAct();
|
|
}
|
|
}
|
|
},
|
|
},
|
|
// 提交订单
|
|
// 提交订单
|