1
|
|
-import { Moment } from 'moment';
|
|
1
|
+import moment, { Moment } from 'moment';
|
2
|
2
|
import { getPacketIntervalByRange, getPacketIntervalByValue, intervalOption } from './helper';
|
3
|
3
|
import { FormSchema } from '/@/components/Form';
|
4
|
4
|
import { ColEx } from '/@/components/Form/src/types';
|
...
|
...
|
@@ -86,7 +86,9 @@ export const defaultSchemas: FormSchema[] = [ |
86
|
86
|
const { setFieldsValue } = formActionType;
|
87
|
87
|
let dates: Moment[] = [];
|
88
|
88
|
return {
|
89
|
|
- showTime: true,
|
|
89
|
+ showTime: {
|
|
90
|
+ defaultValue: [moment('00:00:00', 'HH:mm:ss'), moment('23:59:59', 'HH:mm:ss')],
|
|
91
|
+ },
|
90
|
92
|
onCalendarChange(value: Moment[]) {
|
91
|
93
|
dates = value;
|
92
|
94
|
},
|
...
|
...
|
|