![vue](https://habrastorage.org/r/w120/files/0b7/a0e/6ab/0b7a0e6ab1db4f109548f068c2bd2cff.png)
Vue.js
- 1 ответ
- 0 вопросов
1
Вклад в тег
<div v-for="(day_index, day) in days">
<div v-for="(item_index, item) in items" v-if="item_index < 3 || showItem[day_index]">
{{ item }}
</div>
<a @click="change(day_index)">Show</a>
</div>