From 6030d5b890a1441ca80d6a1fedd28d7974e9e53e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Sat, 7 Jun 2025 19:46:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9C=8B=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index d7261b6..7b2a795 100644 --- a/src/App.vue +++ b/src/App.vue @@ -97,7 +97,7 @@ export default { try { const data = JSON.parse(event.data, (key, value, ctx) => { if (typeof value === 'number' && value > Number.MAX_SAFE_INTEGER) { - return ctx.source; + return ctx?.source || ''; } return value; })