Demo:导入数据后复位画布变换效果,解决导入后新节点在画布外的问题
This commit is contained in:
parent
388594e29a
commit
633ed68f92
@ -336,6 +336,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.mindMap.setData(data)
|
this.mindMap.setData(data)
|
||||||
}
|
}
|
||||||
|
this.mindMap.view.reset()
|
||||||
// this.manualSave()
|
// this.manualSave()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user