diff --git a/components/vc-tree/demo/basic-controlled.vue b/components/vc-tree/demo/basic-controlled.vue index db1df5db0..36fd51fd7 100644 --- a/components/vc-tree/demo/basic-controlled.vue +++ b/components/vc-tree/demo/basic-controlled.vue @@ -153,7 +153,7 @@ export default { onExpand={this.onExpand} expandedKeys={this.expandedKeys} onCheck={this.onCheckStrictly} checkedKeys={this.checkStrictlyKeys} - + checkStrictly > {loop(gData)} diff --git a/components/vc-tree/src/Tree.jsx b/components/vc-tree/src/Tree.jsx index 40a816e63..23cbd1e90 100644 --- a/components/vc-tree/src/Tree.jsx +++ b/components/vc-tree/src/Tree.jsx @@ -114,7 +114,7 @@ const Tree = { checkStrictly: false, draggable: false, defaultExpandParent: true, - autoExpandParent: true, + autoExpandParent: false, defaultExpandAll: false, defaultExpandedKeys: [], defaultCheckedKeys: [],