var checked_list = state.files.filter(function(item, id){ // console.log('click the ' + item.id);
return item.id == id;
}); console.info(checked_list);這是為什么呢?this.fileid=1的情況下也無(wú)法正確過(guò)濾出數(shù)組
array.fliter無(wú)法正確過(guò)濾出我想要的數(shù)組
ITMISS
2018-10-10 13:18:42