1羹唠、不同
let list= [];
list = this.array1.filter(item=> array2.indexOf(item) === -1);
2、相同
let list= [];
list = this.array1.filter(item=> array2.indexOf(item) !== -1);
let list= [];
list = this.array1.filter(item=> array2.indexOf(item) === -1);
let list= [];
list = this.array1.filter(item=> array2.indexOf(item) !== -1);