fix: 修正评论获取错误消息中的冒号格式

将错误消息中的英文冒号改为中文冒号以保持统一格式
This commit is contained in:
anghunk
2026-01-20 17:54:38 +08:00
parent 856e421737
commit 4aaaea78c4

View File

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