From 566afde18b27313262ba392fc088de327b60a316 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: Sat, 25 Jan 2025 10:41:15 +0800 Subject: [PATCH] fix --- .../src/components/button/add_button.tsx | 28 +++++++++++++++++++ napcat.webui/src/pages/dashboard/network.tsx | 7 +++++ 2 files changed, 35 insertions(+) diff --git a/napcat.webui/src/components/button/add_button.tsx b/napcat.webui/src/components/button/add_button.tsx index 02d32033..1b3f8f70 100644 --- a/napcat.webui/src/components/button/add_button.tsx +++ b/napcat.webui/src/components/button/add_button.tsx @@ -88,6 +88,34 @@ const AddButton: React.FC = (props) => { + + + + } + > +
+ HTTP SSE服务器 + + + +
+
i.name === item.name)) { + return renderCard( + 'httpSseServers', + item as OneBotConfig['network']['httpSseServers'][0], + true + ) + } if (httpClients.find((i) => i.name === item.name)) { return renderCard( 'httpClients',