How to access index of .map() method outside of it in react

前端 未结 0 1253
长发绾君心
长发绾君心 2021-02-01 02:38

I want to access the index number outside of that map method because I want to use that index conditionally to show other component like if that index is checked then the compon

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