Returning value of object when another value has been selected

前端 未结 0 1564
青春惊慌失措
青春惊慌失措 2021-01-12 10:24

I\'ve got an array of objects where I need to save value in the state when item has been selected. How can I do that?

  const fruits = {data: [ {item: "A         


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