|
|
@ -132,7 +132,7 @@ const Rest = (props) => { |
|
|
|
style={{ position: "relative", width: "100%", flex: 1 }} |
|
|
|
onSubmit={(values) => { |
|
|
|
if (values?.applyTimes?.length) { |
|
|
|
values.applyTimes = [moment(values?.applyTimes[0]).format('YYYY-MM-DD HH:mm:ss'), moment(values?.applyTimes[1]).format('YYYY-MM-DD HH:mm:ss')] |
|
|
|
values.applyTimes = [moment(values?.applyTimes[0]).format('YYYY-MM-DD HH:mm:ss'), moment(values?.applyTimes[1]).endOf('day').format('YYYY-MM-DD HH:mm:ss')] |
|
|
|
} |
|
|
|
backlogData({ ...values, limit: 10, page: 0 }) |
|
|
|
setQuery({ limit: 10, offset: 0 }); |
|
|
|