Fix:修复历史记录数据概要节点的激活状态未被删除的问题

This commit is contained in:
wanglin2
2023-11-20 11:04:23 +08:00
parent 4c60c52a8f
commit 4e6e0e2221

View File

@@ -152,6 +152,9 @@ export const copyRenderTree = (tree, root, removeActiveState = false) => {
tree.data = simpleDeepClone(root.data)
if (removeActiveState) {
tree.data.isActive = false
if (tree.data.generalization) {
tree.data.generalization.isActive = false
}
}
tree.children = []
if (root.children && root.children.length > 0) {