Fix:修复历史记录数据概要节点的激活状态未被删除的问题
This commit is contained in:
parent
4c60c52a8f
commit
4e6e0e2221
@ -152,6 +152,9 @@ export const copyRenderTree = (tree, root, removeActiveState = false) => {
|
|||||||
tree.data = simpleDeepClone(root.data)
|
tree.data = simpleDeepClone(root.data)
|
||||||
if (removeActiveState) {
|
if (removeActiveState) {
|
||||||
tree.data.isActive = false
|
tree.data.isActive = false
|
||||||
|
if (tree.data.generalization) {
|
||||||
|
tree.data.generalization.isActive = false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
tree.children = []
|
tree.children = []
|
||||||
if (root.children && root.children.length > 0) {
|
if (root.children && root.children.length > 0) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user