Vue.js 使用花括号表示v形外观

Vue.js 使用花括号表示v形外观,vue.js,vuejs2,Vue.js,Vuejs2,我遇到了这样一种情况:我需要在不生成任何HTML的情况下循环真正的项目。我希望代码看起来像这样 <table id="detailTable"> <tr> <th class='editRow'></th> <th class='editRow'></th> <!-- <th class='editRow'></t

我遇到了这样一种情况:我需要在不生成任何HTML的情况下循环真正的项目。我希望代码看起来像这样

      <table id="detailTable">
        <tr>
          <th class='editRow'></th>
          <th class='editRow'></th>
          <!-- <th class='editRow'></th> -->
          <th v-for='(columns, index) in $parent.columns' :key='index'>{{ firstLetterCaps(columns) }}</th>
        </tr>
        {{ for (row, index) in $parent.results }}
        <resultsRows v-for='(row, index) in $parent.results' :key='index' :row='row' :index='index' :deleteQueryObjects='$parent.deleteQueryObjects'></resultsRows>
        <resultsCommentRow v-for='(row, index) in $parent.results' :index='index'></resultsCommentRow>
        {{ end-for}}
      </table>

{{firstLetterCaps(列)}
{{对于$parent.results中的(行,索引)}
{{end for}}

为了明确起见,我希望不要使用
来处理此
{for items in items}{end for}
vue是否存在此语法?

vuejs
中没有此语法,如果您想在某个对象上循环而不触碰它,可以使用
如下:

<template v-for="element in elements" >
...
</template>

vuejs
中没有这样的语法,如果您想在某个对象上循环而不触碰它,可以使用
如下:

<template v-for="element in elements" >
...
</template>

请显示预期的输出HTML。请显示预期的输出HTML。