diff --git a/src/config/utils.js b/src/config/utils.js index 44ed003..d637a35 100644 --- a/src/config/utils.js +++ b/src/config/utils.js @@ -384,9 +384,9 @@ const utils = { let str = date.getFullYear()+"-" + ('0' + (date.getMonth() + 1)).slice(-2) +"-"+ ("0"+ date.getDate()).slice(-2), strBefore = dateBefore.getFullYear() +"-"+ ('0' + (dateBefore.getMonth() + 1)).slice(-2) +"-"+ ("0"+ dateBefore.getDate()).slice(-2); if(limit > 0){ - return strBefore + ',' + str + return strBefore + ' 00:00:00' + ',' + str + ' 23:59:59' } - return str + ',' + strBefore + return str + ' 00:00:00' + ',' + strBefore+ ' 23:59:59' }, createTimeStr: (minusOrAdd)=>{ let num = Number.isInteger(minusOrAdd) ? minusOrAdd : 0; diff --git a/src/pages/OperationCenter/OperationSales/CouponMgm/ActivitySpecificTopic/TemplateConfig.jsx b/src/pages/OperationCenter/OperationSales/CouponMgm/ActivitySpecificTopic/TemplateConfig.jsx index 518eabb..31df5c1 100644 --- a/src/pages/OperationCenter/OperationSales/CouponMgm/ActivitySpecificTopic/TemplateConfig.jsx +++ b/src/pages/OperationCenter/OperationSales/CouponMgm/ActivitySpecificTopic/TemplateConfig.jsx @@ -131,7 +131,7 @@ function TemplateConfig(props) {