【发布时间】:2017-06-13 18:57:50
【问题描述】:
我有这个代码:在 reactjs http://codepen.io/fernandooj/pen/MJOodr
1- list an array, when mapping I send each item a checkbox
2- I have another array that I still do not have
3- I need to compare the two arrays and if there is an element of both arrays
等于列表中重复的复选框处于活动状态 例子 数组1 [1,2,3] 阵列 2 [2] 复选框“2”出现勾选
【问题讨论】: