mirror of https://github.com/ElemeFE/element
Cascader: correct type definitions of CascaderOption (#13613)
Allows `children` and `disabled` to be undefinedpull/13658/head
parent
814740b63c
commit
62cce0e98c
|
@ -7,8 +7,8 @@ export type ExpandTrigger = 'click' | 'hover'
|
||||||
export interface CascaderOption {
|
export interface CascaderOption {
|
||||||
label: string,
|
label: string,
|
||||||
value: any,
|
value: any,
|
||||||
children: CascaderOption[],
|
children?: CascaderOption[],
|
||||||
disabled: boolean
|
disabled?: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Cascader Component */
|
/** Cascader Component */
|
||||||
|
|
Loading…
Reference in New Issue