Commit f61c6a3d authored by 徐光星's avatar 徐光星

feat: 调整优惠券弹窗出现的判断条件

parent 1744cace
......@@ -204,8 +204,10 @@ export default class Activity extends Mixins(TransformStyleMixin, BottomNavStyle
tongdunDeviceId
});
if (err) { return; }
this.couponModalData = res;
this.showCouponModal = true;
if (res && Object.keys(res).length) {
this.couponModalData = res;
this.showCouponModal = true;
}
}
comparePageTime(serverTime) {
const { validStartTime, validEndTime } = this.pageInfo;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment