但是,我的表会在每个单元格后面显示ObjectObject。我使用jQuery的效率不是最高的,所以如果有任何帮助,我将不胜感激。 var $table_cell = $('.tech-specs div.table-row .table-cell'); var i = $(this).index();
return $(thi
like indexes console.warn('index = ' + index); // index here is [objectObject] instead of 1, 2, 3 ...onStarPress = {(starIndex) => {this.onStarPress(starIndex)}} ))
) 当我对索引数组执行map()时,starIndex等于[