...
|
...
|
@@ -92,8 +92,14 @@ class CouponNew { |
|
|
let couponsList = _.get(couponApi, 'data.couponList', []);
|
|
|
let showUsedTip = false;
|
|
|
|
|
|
if (type === 'use' && couponsList && couponsList.length) {
|
|
|
showUsedTip = true;
|
|
|
if (couponsList && couponsList.length) {
|
|
|
if (type === 'use') {
|
|
|
showUsedTip = '以上是近期已使用的优惠券';
|
|
|
}
|
|
|
|
|
|
if (type === 'overtime') {
|
|
|
showUsedTip = '以上是近期已失效的优惠券';
|
|
|
}
|
|
|
}
|
|
|
|
|
|
if (couponsList && couponsList.length) {
|
...
|
...
|
|