js中先遍历后过滤 前端小王子M 2022-09-21 34 阅读1分钟 let str= this.arr.map(item=>item).filter(m=>m.value===e)[0]?.children