-wx:for 循环一个二维数组,想获取item的下标,调用 .length 得到的是undefined -使用微信文档中的wx:for-index 和data-index 会得到数组中定义的id 数组结构附图: