fix(RangPicker): Incorrect display of prevIcon and nextIcon (#7127)
* fix(RangPicker): Incorrect display of prevIcon and nextIcon * fix: superPrevIcon and superNextIcon invalidfeat-4.1
parent
67efafca4a
commit
6625d39118
|
@ -129,6 +129,10 @@ export type RangePickerSharedProps<DateType> = {
|
||||||
activePickerIndex?: 0 | 1;
|
activePickerIndex?: 0 | 1;
|
||||||
dateRender?: RangeDateRender<DateType>;
|
dateRender?: RangeDateRender<DateType>;
|
||||||
panelRender?: (originPanel: VueNode) => VueNode;
|
panelRender?: (originPanel: VueNode) => VueNode;
|
||||||
|
prevIcon?: VueNode;
|
||||||
|
nextIcon?: VueNode;
|
||||||
|
superPrevIcon?: VueNode;
|
||||||
|
superNextIcon?: VueNode;
|
||||||
};
|
};
|
||||||
|
|
||||||
type OmitPickerProps<Props> = Omit<
|
type OmitPickerProps<Props> = Omit<
|
||||||
|
@ -250,6 +254,10 @@ function RangerPicker<DateType>() {
|
||||||
'hideDisabledOptions',
|
'hideDisabledOptions',
|
||||||
'disabledMinutes',
|
'disabledMinutes',
|
||||||
'presets',
|
'presets',
|
||||||
|
'prevIcon',
|
||||||
|
'nextIcon',
|
||||||
|
'superPrevIcon',
|
||||||
|
'superNextIcon',
|
||||||
] as any,
|
] as any,
|
||||||
setup(props, { attrs, expose }) {
|
setup(props, { attrs, expose }) {
|
||||||
const needConfirmButton = computed(
|
const needConfirmButton = computed(
|
||||||
|
|
Loading…
Reference in New Issue