diff --git a/src/pages/exchangecode/copyCode/index.jsx b/src/pages/exchangecode/copyCode/index.jsx index 03d3a589..43a6f613 100644 --- a/src/pages/exchangecode/copyCode/index.jsx +++ b/src/pages/exchangecode/copyCode/index.jsx @@ -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 }