修复初始渲染时激活节点没有触发页面效果的问题

This commit is contained in:
wanglin2 2022-08-01 09:51:53 +08:00
parent b901c08156
commit 06daffbaab
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "simple-mind-map",
"version": "0.1.8",
"version": "0.2.0",
"description": "一个简单的web在线思维导图",
"authors": [
{

View File

@ -254,6 +254,7 @@ class Render {
this.root = root
this.root.render()
})
this.mindMap.emit('node_active', null, this.activeNodeList)
}
/**