Tree: add check-descendants attribute

This commit is contained in:
Dreamacro
2017-07-28 16:54:07 +08:00
committed by 杨奕
parent 54e5cd2340
commit 41c19249ab
3 changed files with 143 additions and 47 deletions

View File

@@ -53,6 +53,10 @@
type: Boolean,
default: true
},
checkDescendants: {
type: Boolean,
default: false
},
autoExpandParent: {
type: Boolean,
default: true
@@ -180,6 +184,7 @@
load: this.load,
currentNodeKey: this.currentNodeKey,
checkStrictly: this.checkStrictly,
checkDescendants: this.checkDescendants,
defaultCheckedKeys: this.defaultCheckedKeys,
defaultExpandedKeys: this.defaultExpandedKeys,
autoExpandParent: this.autoExpandParent,