Showing
1 changed file
with
1 additions
and
1 deletions
@@ -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 | }; |
-
Please register or login to post a comment