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">
|
||||
{{ config.description }}
|
||||
</h2>
|
||||
<template v-for="(group, index) in config.nav">
|
||||
<demo-home-nav :group="group" :lang="lang" :key="index" />
|
||||
</template>
|
||||
<demo-home-nav
|
||||
v-for="(group, index) in config.nav"
|
||||
:key="index"
|
||||
:lang="lang"
|
||||
:group="group"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user