mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-17 22:08:25 +08:00
Fix:修复历史记录数据概要节点的激活状态未被删除的问题
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user