mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
chore: merge
This commit is contained in:
@@ -38,8 +38,6 @@ export type PickerOption =
|
|||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type PickerPlainColumn = PickerOption[];
|
|
||||||
|
|
||||||
export type PickerObjectColumn = {
|
export type PickerObjectColumn = {
|
||||||
values?: PickerOption[];
|
values?: PickerOption[];
|
||||||
children?: PickerColumn;
|
children?: PickerColumn;
|
||||||
@@ -49,7 +47,7 @@ export type PickerObjectColumn = {
|
|||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type PickerColumn = PickerPlainColumn | PickerObjectColumn;
|
export type PickerColumn = PickerOption[] | PickerObjectColumn;
|
||||||
|
|
||||||
function isOptionDisabled(option: PickerOption) {
|
function isOptionDisabled(option: PickerOption) {
|
||||||
return isObject(option) && option.disabled;
|
return isObject(option) && option.disabled;
|
||||||
|
Reference in New Issue
Block a user