Skip to content

Commit

Permalink
[feat] add v-for
Browse files Browse the repository at this point in the history
  • Loading branch information
erik1110 committed Feb 19, 2024
1 parent 9394373 commit 6b08af0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pages/about/code-of-conduct.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,11 @@
</template>
<template #right-col>
<i18n
:key="`coc.${i}.subtitle.${subtitleIndex}.descriptions[0]`"
:path="`contents.${i}.subtitle.${subtitleIndex}.descriptions[0]`"
v-for="(
_, subtitleDescriptionIndex
) in subtitle.descriptions"
:key="`coc.${i}.subtitle.${subtitleIndex}.descriptions.${subtitleDescriptionIndex}`"
:path="`contents.${i}.subtitle.${subtitleIndex}.descriptions.${subtitleDescriptionIndex}`"
tag="p"
>
<template #process>
Expand Down

0 comments on commit 6b08af0

Please sign in to comment.