if (obj[key][0].group === "xxxxx") { obj[key][0].pages = obj[key][0].pages.filter(item => item.name === 'yyy'); }
filter返回指定项 item.name === 'yyy'