Authored by TaoHuang

fix(coupon): fix

@@ -623,7 +623,7 @@ class featureModel extends global.yoho.BaseModel { @@ -623,7 +623,7 @@ class featureModel extends global.yoho.BaseModel {
623 623
624 const isRequired = result.data.some(i => i.checkRequired); 624 const isRequired = result.data.some(i => i.checkRequired);
625 625
626 - if (!couponObj) { 626 + if (!isRequired) {
627 return { 627 return {
628 error: '出错了~' 628 error: '出错了~'
629 }; 629 };