mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
types(DatePicker): fix ts def (#11813)
This commit is contained in:
parent
584a62875e
commit
5ec43156d0
@ -54,7 +54,7 @@ export const genOptions = <T extends string>(
|
||||
return filter ? filter(type, options) : options;
|
||||
};
|
||||
|
||||
export const formatValueRange = (values: string[], columns: PickerOption[]) =>
|
||||
export const formatValueRange = (values: string[], columns: PickerOption[][]) =>
|
||||
values.map((value, index) => {
|
||||
const column = columns[index];
|
||||
if (column.length) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user