现场人员时间精确到小时
This commit is contained in:
@ -314,9 +314,9 @@ const AuthorizeModal: React.FC<AuthorizeModalProps> = (props) => {
|
||||
rules={rule('权限开始时间')}
|
||||
>
|
||||
<DatePicker
|
||||
format="yyyy-MM-DD HH:mm"
|
||||
format="yyyy-MM-DD HH"
|
||||
disabledDate={disabledDate}
|
||||
showTime={{ defaultValue: moment('00', 'ss') }}
|
||||
showTime={{ defaultValue: moment('00:00', 'mm:ss') }}
|
||||
showNow={false}
|
||||
style={{ width: "90%" }}
|
||||
/>
|
||||
@ -327,9 +327,9 @@ const AuthorizeModal: React.FC<AuthorizeModalProps> = (props) => {
|
||||
rules={rule('权限结束时间')}
|
||||
>
|
||||
<DatePicker
|
||||
format="yyyy-MM-DD HH:mm"
|
||||
format="yyyy-MM-DD HH"
|
||||
disabledDate={disabledDate}
|
||||
showTime={{ defaultValue: moment('00', 'ss') }}
|
||||
showTime={{ defaultValue: moment('59:59', 'mm:ss') }}
|
||||
showNow={false}
|
||||
style={{ width: "90%" }}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user