Do not set same key \"NaN\" in wx:key
bf: function (e) { var that = this wx.request({ url: 'http://192.168.2.222/Talent.asmx/bf_query', //data: { //}, method: 'POST', header: { 'content-type': 'application/json' }, success: function (res) { var result = JSON.stringify(res.data.d) result=JSON.parse(result) console.log(result) var data=result wx.navigateTo({ url: '../bf/bf?data='+data, }, 2100) }, }) }, onLoad: function(options) { var data=options.data this.setData({ items:data, }) }, <view class='list_head'>泰能报房消息</view> <block wx:for="{{items}}" wx:key="index"> <view> 房间号{{item.RoomNo}}账号{{item.Account}}报房 </view> </block> 数据: [ { RoomNo: "8221", Account: "G000002192" }, { RoomNo: "8222", Account: "G000002227" } ] 这是代码,报标题的错误,谁能帮忙解决一下