From e5851624fcb3f0c8d2fc6136cad8d380b96c6fe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Thu, 22 Jan 2026 13:20:13 +0800 Subject: [PATCH] Update debug button label in NetworkDisplayCard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed the button label from '关闭调试'/'开启调试' to '默认'/'调试' based on the debug state for improved clarity. --- .../src/components/display_card/common_card.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/napcat-webui-frontend/src/components/display_card/common_card.tsx b/packages/napcat-webui-frontend/src/components/display_card/common_card.tsx index a4cfa857..30417ad4 100644 --- a/packages/napcat-webui-frontend/src/components/display_card/common_card.tsx +++ b/packages/napcat-webui-frontend/src/components/display_card/common_card.tsx @@ -93,7 +93,7 @@ const NetworkDisplayCard = ({ onPress={handleEnableDebug} isDisabled={editing} > - {debug ? '关闭调试' : '开启调试'} + {debug ? '默认' : '调试'}