add
This commit is contained in:
parent
4e0f88c5ea
commit
bdccab85c9
@ -9,7 +9,10 @@ function handleData(e) {
|
||||
let latestData = null
|
||||
try {
|
||||
const latestData = JSON.parse(e.data)
|
||||
console.log(latestData)
|
||||
console.log('处理数据: ', latestData)
|
||||
for ([value, key] in Object.entries(latestData)) {
|
||||
console.log('k, v', key, value)
|
||||
}
|
||||
} catch (err) {
|
||||
console.log(e)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user