bug修复:监管端九公司人员定位系统不显示定位电

pet
liujun 2024-10-28 13:57:41 +08:00
parent 80a3a92e7d
commit 265a24170d
1 changed files with 1 additions and 1 deletions

View File

@ -2999,7 +2999,7 @@ export default {
_this.fwebsocket = new WebSocket(encodeURI(wsUrl)) _this.fwebsocket = new WebSocket(encodeURI(wsUrl))
_this.fwebsocket.onmessage = function(message) { _this.fwebsocket.onmessage = function(message) {
console.info('接收消息') console.info('接收消息')
const peopleList = JSON.parse(message.data).data.data const peopleList = JSON.parse(message.data)
console.log(peopleList) console.log(peopleList)
for (let i = 0; i < peopleList.length; i++) { for (let i = 0; i < peopleList.length; i++) {
const item = peopleList[i] const item = peopleList[i]