mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
chore: merge
This commit is contained in:
parent
7e330109b3
commit
30254b0420
@ -38,8 +38,6 @@ export type PickerOption =
|
||||
[key: string]: any;
|
||||
};
|
||||
|
||||
export type PickerPlainColumn = PickerOption[];
|
||||
|
||||
export type PickerObjectColumn = {
|
||||
values?: PickerOption[];
|
||||
children?: PickerColumn;
|
||||
@ -49,7 +47,7 @@ export type PickerObjectColumn = {
|
||||
[key: string]: any;
|
||||
};
|
||||
|
||||
export type PickerColumn = PickerPlainColumn | PickerObjectColumn;
|
||||
export type PickerColumn = PickerOption[] | PickerObjectColumn;
|
||||
|
||||
function isOptionDisabled(option: PickerOption) {
|
||||
return isObject(option) && option.disabled;
|
||||
|
Loading…
x
Reference in New Issue
Block a user