修改处置

main
suixy 3 weeks ago
parent 08918abdb1
commit 926e4b036d

@ -1298,6 +1298,9 @@ const getSocket = () => {
socket.addEventListener("close", () => {
console.log("❌ WebSocket 已关闭");
setTimeout(() => {
getSocket()
}, 1000)
});
socket.addEventListener("error", (error) => {
@ -1554,6 +1557,7 @@ const batchDisposal2 = () => {
strength: row.strength,
files: [],
findTime: row.time,
description: ''
}))
})
Promise.allSettled(promiseArr).then(() => {
@ -1700,6 +1704,7 @@ const batchDisposal = () => {
strength: row.Strength,
files: [],
findTime: '',
description: ''
})
arr = arr.filter(v => !(v.Lon === row.Lon && v.Lat === row.Lat && v.Strength === row.Strength))
})
@ -1905,6 +1910,7 @@ const batchDisposal1 = () => {
strength: row.Strength,
files: [],
findTime: '',
description: ''
})
arr = arr.filter(v => !(v.Lon === row.Lon && v.Lat === row.Lat && v.Strength === row.Strength))
})

Loading…
Cancel
Save