【功能修复】领取优惠劵在 validityType = 1 时(固定日期),展示不正确的问题

pull/124/head^2
YunaiV 2024-10-27 20:23:29 +08:00
parent 4bdc82786e
commit 0213a4b88a
1 changed files with 3 additions and 2 deletions

View File

@ -57,8 +57,9 @@
<view class="ss-m-b-24 cotBu-txt">
{{
item.validityType == 1
? sheep.$helper.timeFormat(item.validStartTime, 'yyyy.mm.dd') -
sheep.$helper.timeFormat(item.validEndTime, 'yyyy.mm.dd')
? sheep.$helper.timeFormat(item.validStartTime, 'yyyy-mm-dd') +
'-' +
sheep.$helper.timeFormat(item.validEndTime, 'yyyy-mm-dd')
: '领取后' + item.fixedStartTerm + '-' + item.fixedEndTerm + '天可用'
}}
</view>