Skip to content

Commit 395df44

Browse files
committed
fix vc-tree
1 parent 659aff5 commit 395df44

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/vc-tree/demo/basic-controlled.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export default {
153153
onExpand={this.onExpand} expandedKeys={this.expandedKeys}
154154
onCheck={this.onCheckStrictly}
155155
checkedKeys={this.checkStrictlyKeys}
156-
156+
checkStrictly
157157
>
158158
{loop(gData)}
159159
</Tree>

components/vc-tree/src/Tree.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ const Tree = {
114114
checkStrictly: false,
115115
draggable: false,
116116
defaultExpandParent: true,
117-
autoExpandParent: true,
117+
autoExpandParent: false,
118118
defaultExpandAll: false,
119119
defaultExpandedKeys: [],
120120
defaultCheckedKeys: [],

0 commit comments

Comments
 (0)