Compare commits
2 Commits
dfd8d9289c
...
3a4e8ceb98
Author | SHA1 | Date |
---|---|---|
liujun | 3a4e8ceb98 | |
liujun | 265a24170d |
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue