mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(cli): template v-for warning
This commit is contained in:
parent
ae24b9a448
commit
0db9030f11
@ -10,9 +10,12 @@
|
|||||||
<h2 v-if="config.description" class="demo-home__desc">
|
<h2 v-if="config.description" class="demo-home__desc">
|
||||||
{{ config.description }}
|
{{ config.description }}
|
||||||
</h2>
|
</h2>
|
||||||
<template v-for="(group, index) in config.nav">
|
<demo-home-nav
|
||||||
<demo-home-nav :group="group" :lang="lang" :key="index" />
|
v-for="(group, index) in config.nav"
|
||||||
</template>
|
:key="index"
|
||||||
|
:lang="lang"
|
||||||
|
:group="group"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user