forEach里面能在套一个forEach吗?
forEach里面能在套一个forEach吗?
eg:
data.data.list.forEach(n => {
n.total_express = n.total_express / 100,
n.order_list.forEach( o=>{
o.price = o.price / 100,
o.total_price = o.total_price / 100
})
});