修复 复制兑换码时间 不能选择问题

This commit is contained in:
wangsongsole 2022-08-18 15:23:20 +08:00
parent ec4c63fa46
commit 9c1d31c640
1 changed files with 2 additions and 1 deletions

View File

@ -823,7 +823,8 @@ export default class acclist extends React.Component {
if (type == 'end') {
isdisabled =
moment(str).isBefore(beign_time) || moment(str).isAfter(end_time)
moment(str).add(1, 'days').isBefore(beign_time) ||
moment(str).isAfter(end_time)
}
return isdisabled
}