mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-30 11:08:00 +08:00
fix: rangePicker xxxStep not work, close #5671
This commit is contained in:
parent
71c6195771
commit
3ddc7cdd7c
@ -82,6 +82,13 @@ function commonProps<DateType = any>() {
|
||||
mode: { type: String as PropType<PanelMode> },
|
||||
picker: { type: String as PropType<PickerMode> },
|
||||
valueFormat: String,
|
||||
|
||||
/** @deprecated Please use `disabledTime` instead. */
|
||||
disabledHours: Function as PropType<DisabledTimes['disabledHours']>,
|
||||
/** @deprecated Please use `disabledTime` instead. */
|
||||
disabledMinutes: Function as PropType<DisabledTimes['disabledMinutes']>,
|
||||
/** @deprecated Please use `disabledTime` instead. */
|
||||
disabledSeconds: Function as PropType<DisabledTimes['disabledSeconds']>,
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -187,6 +187,10 @@ function Picker<DateType>() {
|
||||
'showToday',
|
||||
'renderExtraFooter',
|
||||
'dateRender',
|
||||
'minuteStep',
|
||||
'hourStep',
|
||||
'secondStep',
|
||||
'hideDisabledOptions',
|
||||
] as any,
|
||||
// slots: [
|
||||
// 'suffixIcon',
|
||||
|
@ -232,6 +232,11 @@ function RangerPicker<DateType>() {
|
||||
'direction',
|
||||
'activePickerIndex',
|
||||
'autocomplete',
|
||||
'minuteStep',
|
||||
'hourStep',
|
||||
'secondStep',
|
||||
'hideDisabledOptions',
|
||||
'disabledMinutes',
|
||||
] as any,
|
||||
setup(props, { attrs, expose }) {
|
||||
const needConfirmButton = computed(
|
||||
|
@ -205,7 +205,6 @@ const TimeBody = defineComponent({
|
||||
hideDisabledOptions,
|
||||
onSelect,
|
||||
} = props;
|
||||
|
||||
const columns: {
|
||||
node: VueNode;
|
||||
value: number;
|
||||
|
Loading…
Reference in New Issue
Block a user