Showing
1 changed file
with
4 additions
and
1 deletions
| 1 | +import moment from 'moment'; | ||
| 1 | import { findDictItemByCode } from '/@/api/system/dict'; | 2 | import { findDictItemByCode } from '/@/api/system/dict'; |
| 2 | import { BasicColumn, FormSchema } from '/@/components/Table'; | 3 | import { BasicColumn, FormSchema } from '/@/components/Table'; |
| 3 | 4 | ||
| @@ -55,7 +56,9 @@ export const formSchemas: FormSchema[] = [ | @@ -55,7 +56,9 @@ export const formSchemas: FormSchema[] = [ | ||
| 55 | component: 'RangePicker', | 56 | component: 'RangePicker', |
| 56 | colProps: { span: 10 }, | 57 | colProps: { span: 10 }, |
| 57 | componentProps: { | 58 | componentProps: { |
| 58 | - showTime: true, | 59 | + showTime: { |
| 60 | + defaultValue: [moment('00:00:00', 'HH:mm:ss'), moment('23:59:59', 'HH:mm:ss')], | ||
| 61 | + }, | ||
| 59 | }, | 62 | }, |
| 60 | }, | 63 | }, |
| 61 | ]; | 64 | ]; |