How do I call a function within another function when the data I need is in the global scope?

前端 未结 0 1537
情话喂你
情话喂你 2020-12-22 00:54

I have a set of card objects that I map over. When I click on a card it adds the selected class which in turn gives it a border to show the user it is selected,

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