對象數組經過某個屬性,取得該對象

List.find(item=>item.value===5).label;it

 

List.find(item=>{List

return item.value===5return

}).label;ab

相關文章
相關標籤/搜索