mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 16:04:04 +00:00
chore: merge
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user