mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-17 14:04:47 +08:00
Feat:全选操作支持选中概要节点
This commit is contained in:
@@ -629,6 +629,15 @@ class Render {
|
||||
if (!node.getData('isActive')) {
|
||||
this.addNodeToActiveList(node)
|
||||
}
|
||||
// 概要节点
|
||||
if (node._generalizationList && node._generalizationList.length > 0) {
|
||||
node._generalizationList.forEach(item => {
|
||||
const gNode = item.generalizationNode
|
||||
if (!gNode.getData('isActive')) {
|
||||
this.addNodeToActiveList(gNode)
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
null,
|
||||
true,
|
||||
|
||||
Reference in New Issue
Block a user