首页 > vue 2.0 v-for 的 index 不能直接拿来用么

vue 2.0 v-for 的 index 不能直接拿来用么

<tr v-for="(list, index) in lists">
{{index}}

想问下 2.0的index 不能这么用么。。


v-for="(index, list) in lists"


没用过2.0,但是文档说的是支持的
https://github.com/vuejs/vuej...

【热门文章】
【热门文章】