| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <template><div><h1 id="流程控制" tabindex="-1"><a class="header-anchor" href="#流程控制"><span>流程控制</span></a></h1>
- <h2 id="条件判断" tabindex="-1"><a class="header-anchor" href="#条件判断"><span>条件判断</span></a></h2>
- <p>根据条件执行不同分支。</p>
- <h3 id="参数" tabindex="-1"><a class="header-anchor" href="#参数"><span>参数</span></a></h3>
- <table>
- <thead>
- <tr>
- <th>参数</th>
- <th>说明</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>条件</td>
- <td>判断表达式</td>
- </tr>
- </tbody>
- </table>
- <h2 id="循环" tabindex="-1"><a class="header-anchor" href="#循环"><span>循环</span></a></h2>
- <p>重复执行一组节点。</p>
- <h3 id="循环数据" tabindex="-1"><a class="header-anchor" href="#循环数据"><span>循环数据</span></a></h3>
- <p>遍历数组或对象。</p>
- <h3 id="while-循环" tabindex="-1"><a class="header-anchor" href="#while-循环"><span>While 循环</span></a></h3>
- <p>满足条件时持续执行。</p>
- <h2 id="延时" tabindex="-1"><a class="header-anchor" href="#延时"><span>延时</span></a></h2>
- <p>暂停执行指定时间。</p>
- <h3 id="参数-1" tabindex="-1"><a class="header-anchor" href="#参数-1"><span>参数</span></a></h3>
- <table>
- <thead>
- <tr>
- <th>参数</th>
- <th>说明</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>时长</td>
- <td>等待毫秒数</td>
- </tr>
- </tbody>
- </table>
- <h2 id="中断循环" tabindex="-1"><a class="header-anchor" href="#中断循环"><span>中断循环</span></a></h2>
- <p>跳出当前循环。</p>
- </div></template>
|