How to map through an array of objects and add value to each other in React?

前端 未结 0 332
清歌不尽
清歌不尽 2021-01-29 06:44

I would like to sum one specific value from my array of objects.

my array:

0: {package_id: 1, width: "30"}
1: {package_id: 2, width: "20&quo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题