mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-17 22:08:25 +08:00
Doc: update
This commit is contained in:
@@ -112,7 +112,7 @@ mindMap.execCommand('INSERT_NODE')
|
||||
插入多个同级节点可以执行`INSERT_MULTI_NODE`命令:
|
||||
|
||||
```js
|
||||
mindMap.execCommand('INSERT_NODE'. [], nodeList)
|
||||
mindMap.execCommand('INSERT_MULTI_NODE'. [], nodeList)
|
||||
```
|
||||
|
||||
`nodeList`是要插入的同级节点数据的数组,必传。
|
||||
|
||||
@@ -70,7 +70,7 @@ mindMap.execCommand(<span class="hljs-string">'INSERT_CHILD_NODE'</spa
|
||||
</code></pre>
|
||||
<h2>插入多个同级节点</h2>
|
||||
<p>插入多个同级节点可以执行<code>INSERT_MULTI_NODE</code>命令:</p>
|
||||
<pre class="hljs"><code>mindMap.execCommand(<span class="hljs-string">'INSERT_NODE'</span>. [], nodeList)
|
||||
<pre class="hljs"><code>mindMap.execCommand(<span class="hljs-string">'INSERT_MULTI_NODE'</span>. [], nodeList)
|
||||
</code></pre>
|
||||
<p><code>nodeList</code>是要插入的同级节点数据的数组,必传。</p>
|
||||
<h2>插入父节点</h2>
|
||||
|
||||
Reference in New Issue
Block a user