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(); }