diff --git a/src/views/map/index.vue b/src/views/map/index.vue index 0f5d6fd..8c138e9 100644 --- a/src/views/map/index.vue +++ b/src/views/map/index.vue @@ -2834,7 +2834,7 @@ export default { console.log(peopleList) for (let i = 0; i < peopleList.length; i++) { const item = peopleList[i] - if ((!item) || (item.ts === 1)) continue + if ((!item)) continue // 将地图上剩余的点与最新的定位人员点进行对比 更新地图上已存在的点 新增地图上之前没有的点 const index = _this.onePerLocArr.findIndex(item1 => { return item1.id.toString() === item.id.toString()