fix: rangePicker xxxStep not work, close #5671
parent
71c6195771
commit
3ddc7cdd7c
|
@ -82,6 +82,13 @@ function commonProps<DateType = any>() {
|
||||||
mode: { type: String as PropType<PanelMode> },
|
mode: { type: String as PropType<PanelMode> },
|
||||||
picker: { type: String as PropType<PickerMode> },
|
picker: { type: String as PropType<PickerMode> },
|
||||||
valueFormat: String,
|
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',
|
'showToday',
|
||||||
'renderExtraFooter',
|
'renderExtraFooter',
|
||||||
'dateRender',
|
'dateRender',
|
||||||
|
'minuteStep',
|
||||||
|
'hourStep',
|
||||||
|
'secondStep',
|
||||||
|
'hideDisabledOptions',
|
||||||
] as any,
|
] as any,
|
||||||
// slots: [
|
// slots: [
|
||||||
// 'suffixIcon',
|
// 'suffixIcon',
|
||||||
|
|
|
@ -232,6 +232,11 @@ function RangerPicker<DateType>() {
|
||||||
'direction',
|
'direction',
|
||||||
'activePickerIndex',
|
'activePickerIndex',
|
||||||
'autocomplete',
|
'autocomplete',
|
||||||
|
'minuteStep',
|
||||||
|
'hourStep',
|
||||||
|
'secondStep',
|
||||||
|
'hideDisabledOptions',
|
||||||
|
'disabledMinutes',
|
||||||
] as any,
|
] as any,
|
||||||
setup(props, { attrs, expose }) {
|
setup(props, { attrs, expose }) {
|
||||||
const needConfirmButton = computed(
|
const needConfirmButton = computed(
|
||||||
|
|
|
@ -205,7 +205,6 @@ const TimeBody = defineComponent({
|
||||||
hideDisabledOptions,
|
hideDisabledOptions,
|
||||||
onSelect,
|
onSelect,
|
||||||
} = props;
|
} = props;
|
||||||
|
|
||||||
const columns: {
|
const columns: {
|
||||||
node: VueNode;
|
node: VueNode;
|
||||||
value: number;
|
value: number;
|
||||||
|
|
Loading…
Reference in New Issue