使用lodash - filter. 1. _.filter(dataobj, (obj)=>obj.type === 2) ... Javascript: find an object in array based on object's property ...
確定! 回上一頁