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 {
|
||||
label: string,
|
||||
value: any,
|
||||
children: CascaderOption[],
|
||||
disabled: boolean
|
||||
children?: CascaderOption[],
|
||||
disabled?: boolean
|
||||
}
|
||||
|
||||
/** Cascader Component */
|
||||
|
|
Loading…
Reference in New Issue