mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 02:16:12 +08:00
chore: merge
This commit is contained in:
parent
7e330109b3
commit
30254b0420
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user