Feat:概要节点增加uid字段

This commit is contained in:
街角小林 2024-03-06 16:43:45 +08:00
parent 58a3faae74
commit 4bf43ff338

View File

@ -1618,7 +1618,8 @@ class Render {
...(data || { ...(data || {
text: this.mindMap.opt.defaultGeneralizationText text: this.mindMap.opt.defaultGeneralizationText
}), }),
range: item.range || null range: item.range || null,
uid: createUid()
} }
let generalization = item.node.getData('generalization') let generalization = item.node.getData('generalization')
if (generalization) { if (generalization) {