if (data.retCode === 0) {
this.cashList = data.data;
this.cashListNew = this.cashList.map((row) => {
const arr = [];
for (const key in row) {
arr.push(row[key]);
}
return arr;
});
console.log(this.cashListNew, '对象转化成数组');
}
转化后