From 265a24170dfa554e033cfe0fd3d49c2bf49a0c63 Mon Sep 17 00:00:00 2001 From: liujun Date: Mon, 28 Oct 2024 13:57:41 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D=EF=BC=9A=E7=9B=91?= =?UTF-8?q?=E7=AE=A1=E7=AB=AF=E4=B9=9D=E5=85=AC=E5=8F=B8=E4=BA=BA=E5=91=98?= =?UTF-8?q?=E5=AE=9A=E4=BD=8D=E7=B3=BB=E7=BB=9F=E4=B8=8D=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=AE=9A=E4=BD=8D=E7=94=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/map/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/map/index.vue b/src/views/map/index.vue index d2b4712..f18f7f2 100644 --- a/src/views/map/index.vue +++ b/src/views/map/index.vue @@ -2999,7 +2999,7 @@ export default { _this.fwebsocket = new WebSocket(encodeURI(wsUrl)) _this.fwebsocket.onmessage = function(message) { console.info('接收消息') - const peopleList = JSON.parse(message.data).data.data + const peopleList = JSON.parse(message.data) console.log(peopleList) for (let i = 0; i < peopleList.length; i++) { const item = peopleList[i]