From 94a3da57f3993ca79275e63c9c9247a0fc2a9e43 Mon Sep 17 00:00:00 2001 From: lysgithub0302 Date: Mon, 16 Jun 2025 18:14:23 +0800 Subject: [PATCH] (fix)(webapp)Fix the issue where two '%%' are displayed in the percentage presentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 0 —>0% but 0.9112->91.12%% --- .../packages/chat-sdk/src/components/ChatMsg/Table/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/packages/chat-sdk/src/components/ChatMsg/Table/index.tsx b/webapp/packages/chat-sdk/src/components/ChatMsg/Table/index.tsx index 288906b24..3596c116b 100644 --- a/webapp/packages/chat-sdk/src/components/ChatMsg/Table/index.tsx +++ b/webapp/packages/chat-sdk/src/components/ChatMsg/Table/index.tsx @@ -43,8 +43,8 @@ const Table: React.FC = ({ data, size, loading, question, onApplyAuth }) {`${ value ? formatByDataFormatType(value, dataFormatType, dataFormat) - : 0 - }%`} + : '0%' + }`} ); }