提交 a405de8d 编写于 作者: V Vben

fix(tree): ebsure the expansion is functioning properly close #362

上级 7a6c87f8
......@@ -205,8 +205,17 @@
watchEffect(() => {
treeDataRef.value = props.treeData as TreeItem[];
});
watchEffect(() => {
state.expandedKeys = props.expandedKeys;
});
watchEffect(() => {
state.selectedKeys = props.selectedKeys;
});
watchEffect(() => {
state.checkedKeys = props.checkedKeys;
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册