js数组从大到小排序
let temp = [];
for (var i = 0, len = this.barData.length; i < len; i++) {
for (var j = 0; j <= i; j++) {
if (this.barData[i].tax > this.barData[j].tax) {
temp = this.barData[i];
this.barData[i] = this.barData[j];
this.barData[j] = temp;
}
}
}