admin 发表于 2023-2-16 18:55:05

使用block来空的来进行渲染

<div id="article_content" class="article_content clearfix">
      <link rel="stylesheet" href="https://csdnimg.cn/release/blogv2/dist/mdeditor/css/editerView/kdoc_html_views-1a98987dfd.css">
      <link rel="stylesheet" href="https://csdnimg.cn/release/blogv2/dist/mdeditor/css/editerView/ck_htmledit_views-6e43165c0a.css">
                <div id="content_views" class="htmledit_views">
                  <p>如果不想在view中呈现for 胡诌和wx&#xff1a;if可以使用<block></block>组建来进行渲染。</p>
<p>用block来包裹循环&#xff0c;本身的block不会出现在视图中&#xff0c;block属于空元素</p>
<p></p>
<p> <!--</p>
<p>--></p>
                </div>
      </div>
      <div id="treeSkill"></div>
页: [1]
查看完整版本: 使用block来空的来进行渲染