js find使用

let obj = this.tableData.find(im=>{
  return this.pid === im.id
})

返回一个对象

posted @ 2021-09-22 16:15  meeto  阅读(179)  评论(0)    收藏  举报