Authored by shixiang

不显示空券

review 于良
@@ -59,6 +59,9 @@ export default class CouponCenter extends Component { @@ -59,6 +59,9 @@ export default class CouponCenter extends Component {
59 </TouchableOpacity> 59 </TouchableOpacity>
60 ); 60 );
61 case 'getCoupon': 61 case 'getCoupon':
  62 + if(!data.get('couponID')){
  63 + return null;
  64 + }
62 let bg = SlicedImage.getSlicedUrl(data.get('image').get('src'), 0, 0, 2); 65 let bg = SlicedImage.getSlicedUrl(data.get('image').get('src'), 0, 0, 2);
63 let optImage; 66 let optImage;
64 let resizeMode = 'contain'; 67 let resizeMode = 'contain';