提交 3c9fc66f 编写于 作者: jingqi.liu's avatar jingqi.liu

下啦刷新

上级 a0e4e544
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
:key="index" :key="index"
class="item" class="item"
:coupon-detail="item" :coupon-detail="item"
:show-tips.sync="item.showTips"
:has-tips="hasTips" :has-tips="hasTips"
:has-stock="false" :has-stock="false"
@goUse="chooseCoupon" @goUse="chooseCoupon"
...@@ -174,7 +175,12 @@ export default { ...@@ -174,7 +175,12 @@ export default {
getSearchCoupons() { getSearchCoupons() {
this.loading = true; this.loading = true;
this.POST(`trade/coupon/app/searchCoupons`, {}).then((res) => { this.POST(`trade/coupon/app/searchCoupons`, {}).then((res) => {
this.couponList = res.data.baseCouponModelList; res.data.baseCouponModelList.forEach((item) => {
item.showTips = false;
});
this.couponList = JSON.parse(
JSON.stringify(res.data.baseCouponModelList)
);
this.loading = false; this.loading = false;
this.finished = true; this.finished = true;
this.refreshing = false; this.refreshing = false;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册