修改在线人员数bug修复
parent
ece26192aa
commit
80df79c653
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue