fix(components): [date-picker] modelValue typo (#15080)

* fix(components): [date-picker] modelValue typo

* fix(components): [date-picker] docs

---------

Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
Co-authored-by: btea <2356281422@qq.com>
This commit is contained in:
Xc 2024-05-30 17:50:18 +08:00 committed by GitHub
parent 9bd53e6079
commit db9590e1f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@ import type { Dayjs } from 'dayjs'
export type SingleOrRange<T> = T | [T, T]
export type DateModelType = number | string | Date
export type ModelValueType = SingleOrRange<DateModelType>
export type ModelValueType = SingleOrRange<DateModelType> | string[]
export type DayOrDays = SingleOrRange<Dayjs>
export type DateOrDates = SingleOrRange<Date>
export type UserInput = SingleOrRange<string | null>