提交 a405de8d 作者: 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 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论