for in 中的index

自己学艺不精。。。

数据是个对象,想要里面的key

原来 for (item, index) in items 中的index 就是key

posted @ 2018-08-25 21:45  竹木狼马  阅读(3265)  评论(0编辑  收藏  举报