已知code找数组里对象code相等的对象

const code=1
const obj = this.list.find(u => u.code === code)

已知id删除数组对象id相等的对象

this.companyList = this.companyList.filter(item => item.id !== this.form.id);