|
|
|
@ -96,6 +96,9 @@ export default {
|
|
|
|
|
onWebSocketMessage(event) {
|
|
|
|
|
try {
|
|
|
|
|
const data = JSON.parse(event.data, (key, value, ctx) => {
|
|
|
|
|
console.log('key',key)
|
|
|
|
|
console.log('value',value)
|
|
|
|
|
console.log('ctx',ctx)
|
|
|
|
|
if (typeof value === 'number' && value > Number.MAX_SAFE_INTEGER) {
|
|
|
|
|
return ctx?.source || '';
|
|
|
|
|
}
|
|
|
|
|