方式一
const newArr = [],
this.Arr.forEach(str =>{
const index = newArr.findIndex(samllStr => smallStr === str)
if(index === -1){
//搜素历史在newArr里没找到
newArr.push(str)
}
})
console.log(newArr)
方式二
this.arr= Array.from(new Set(this.arr))
方式三
this.arr= [...new Set(this.arr)]