修复初始渲染时激活节点没有触发页面效果的问题
This commit is contained in:
parent
b901c08156
commit
06daffbaab
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "simple-mind-map",
|
"name": "simple-mind-map",
|
||||||
"version": "0.1.8",
|
"version": "0.2.0",
|
||||||
"description": "一个简单的web在线思维导图",
|
"description": "一个简单的web在线思维导图",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
|
|||||||
@ -254,6 +254,7 @@ class Render {
|
|||||||
this.root = root
|
this.root = root
|
||||||
this.root.render()
|
this.root.render()
|
||||||
})
|
})
|
||||||
|
this.mindMap.emit('node_active', null, this.activeNodeList)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user