Doc: update

This commit is contained in:
街角小林
2024-07-09 10:35:28 +08:00
parent 9b55d051dc
commit ba9a6e501a
2 changed files with 2 additions and 2 deletions

View File

@@ -112,7 +112,7 @@ mindMap.execCommand('INSERT_NODE')
插入多个同级节点可以执行`INSERT_MULTI_NODE`命令:
```js
mindMap.execCommand('INSERT_NODE'. [], nodeList)
mindMap.execCommand('INSERT_MULTI_NODE'. [], nodeList)
```
`nodeList`是要插入的同级节点数据的数组,必传。

View File

@@ -70,7 +70,7 @@ mindMap.execCommand(<span class="hljs-string">&#x27;INSERT_CHILD_NODE&#x27;</spa
</code></pre>
<h2>插入多个同级节点</h2>
<p>插入多个同级节点可以执行<code>INSERT_MULTI_NODE</code>命令</p>
<pre class="hljs"><code>mindMap.execCommand(<span class="hljs-string">&#x27;INSERT_NODE&#x27;</span>. [], nodeList)
<pre class="hljs"><code>mindMap.execCommand(<span class="hljs-string">&#x27;INSERT_MULTI_NODE&#x27;</span>. [], nodeList)
</code></pre>
<p><code>nodeList</code>是要插入的同级节点数据的数组必传</p>
<h2>插入父节点</h2>