普通数组去重
vm.bleDevices = Array.from(new set(vm.bleDevices))
对象数组去重
unique(arr) { const res = new Map(); return arr.filter((arr) => !res.has(arr.mac) && res.set(arr.mac, 1));