From 4aaaea78c4f84499f85d83554162b7a67d893430 Mon Sep 17 00:00:00 2001 From: anghunk Date: Tue, 20 Jan 2026 17:54:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E8=AF=84=E8=AE=BA?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E9=94=99=E8=AF=AF=E6=B6=88=E6=81=AF=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E5=86=92=E5=8F=B7=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将错误消息中的英文冒号改为中文冒号以保持统一格式 --- widget/src/core/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/src/core/api.js b/widget/src/core/api.js index c12a4c9..2c65747 100644 --- a/widget/src/core/api.js +++ b/widget/src/core/api.js @@ -34,7 +34,7 @@ const response = await fetch(`${baseUrl}/api/comments?${params}`); if (!response.ok) { - throw new Error(`获取评论失败: ${response.status} ${response.statusText}`); + throw new Error(`获取评论失败:${response.status} ${response.statusText}`); } return response.json(); }