Tree: add checkOnClickNode (#11111)

This commit is contained in:
杨奕
2018-05-10 18:01:49 +08:00
committed by GitHub
parent 1ff01a77f9
commit 68db03fc22
7 changed files with 27 additions and 5 deletions

3
types/tree.d.ts vendored
View File

@@ -79,6 +79,9 @@ export declare class ElTree extends ElementUIComponent {
/** Whether to expand or collapse node when clicking on the node. If false, then expand or collapse node only when clicking on the arrow icon. */
expandOnClickNode: boolean
/** Whether to check or uncheck node when clicking on the node, if false, the node can only be checked or unchecked by clicking on the checkbox. */
checkOnClickNode: boolean
/** Whether to expand father node when a child node is expanded */
autoExpandParent: boolean