diff --git a/components/lib/tree/Tree.d.ts b/components/lib/tree/Tree.d.ts index 6a8afc5f1..a394dc2b1 100755 --- a/components/lib/tree/Tree.d.ts +++ b/components/lib/tree/Tree.d.ts @@ -11,7 +11,7 @@ import { VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { PassThroughOptions } from '../passthrough'; import { TreeNode } from '../treenode'; -import { ClassComponent, GlobalComponentConstructor, PassThrough, HintedString } from '../ts-helpers'; +import { ClassComponent, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers'; export declare type TreePassThroughOptionType = TreePassThroughAttributes | ((options: TreePassThroughMethodOptions) => TreePassThroughAttributes | string) | string | null | undefined; @@ -356,7 +356,7 @@ export interface TreeSlots { * Custom node icon template. * @param {Object} scope - togglericon slot's params. */ - nodeIcon(scope: { + nodeicon(scope: { /** * Tree node instance */ diff --git a/components/lib/tree/TreeNode.vue b/components/lib/tree/TreeNode.vue index 2c951d24d..015629953 100755 --- a/components/lib/tree/TreeNode.vue +++ b/components/lib/tree/TreeNode.vue @@ -32,12 +32,8 @@ - - + +