...
|
...
|
@@ -15,6 +15,11 @@ shopCoupon = { |
|
|
couponTemplate: require('product/shop/coupon.hbs')
|
|
|
},
|
|
|
init: function() {
|
|
|
// 如果都为空,则不请求
|
|
|
if (this.common.shopId === '' && this.common.brandId === '') {
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
this.loginCoupon();
|
|
|
this.getShopCouponsList();
|
|
|
},
|
...
|
...
|
|