自己学艺不精。。。 数据是个对象,想要里面的key 原来 for (item, index) in items 中的index 就是key 转载于:https://www.cnblogs.com/aimeeblogs/p/9535498.html