fix: improve tree type definition (#3659)
parent
cdac96b0bc
commit
18ce372a13
|
@ -29,6 +29,8 @@ export interface TreeDataItem {
|
|||
icon?: VNode;
|
||||
slots?: Record<string, string>;
|
||||
switcherIcon?: VNode;
|
||||
// support custom field
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
interface DefaultEvent {
|
||||
|
|
Loading…
Reference in New Issue