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

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

parent 1744cace
......@@ -204,9 +204,11 @@ export default class Activity extends Mixins(TransformStyleMixin, BottomNavStyle
tongdunDeviceId
});
if (err) { return; }
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