Please tell me how to get the variable of the loop count in v-for in VueJS?
NULL
NULL 2017-12-06 15:43:01
0
1
1778

For example, I have 10 pieces of data. How do I want the Button value to cycle from 1 to 10?QQ图片20171206153929.png

NULL
NULL

PHP是世界上最好的语言

reply all(1)
路过

<div v-for="(index, item) in items">
{{ index }} {{ item.message }}</div>

index is index

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template