对象的某一属性进行排序 (降序)
打印数组对象 data
this.eventData = data.sort(function(a,b){ var value1 = a['zhzsData']; var value2 = b['zhzsData']; return value2 - value1; })
打印数组对象 data
this.eventData = data.sort(function(a,b){ var value1 = a['zhzsData']; var value2 = b['zhzsData']; return value2 - value1; })