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