From 41db435ef514a556a0d6f418672c6ae427f7d828 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, 16 Nov 2024 11:08:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- napcat.webui/src/pages/NetWork.vue | 10 ++- .../src/pages/network/HttpClientComponent.vue | 58 +++++++++----- .../src/pages/network/HttpServerComponent.vue | 76 ++++++++++++------- .../network/WebsocketClientComponent.vue | 64 ++++++++++------ .../network/WebsocketServerComponent.vue | 76 ++++++++++++------- 5 files changed, 186 insertions(+), 98 deletions(-) diff --git a/napcat.webui/src/pages/NetWork.vue b/napcat.webui/src/pages/NetWork.vue index 50ef203b..07ad85a4 100644 --- a/napcat.webui/src/pages/NetWork.vue +++ b/napcat.webui/src/pages/NetWork.vue @@ -10,7 +10,9 @@ class="full-tab-panel" > - 保存 +
+ 保存 +
{ display: flex; flex-direction: column; } + +.button-container { + display: flex; + justify-content: center; + margin-top: 20px; +} \ No newline at end of file diff --git a/napcat.webui/src/pages/network/HttpClientComponent.vue b/napcat.webui/src/pages/network/HttpClientComponent.vue index cbae98d0..1bdc58a9 100644 --- a/napcat.webui/src/pages/network/HttpClientComponent.vue +++ b/napcat.webui/src/pages/network/HttpClientComponent.vue @@ -1,23 +1,25 @@ @@ -28,3 +30,21 @@ defineProps<{ config: HttpClientConfig; }>(); + + \ No newline at end of file diff --git a/napcat.webui/src/pages/network/HttpServerComponent.vue b/napcat.webui/src/pages/network/HttpServerComponent.vue index a9f4df05..cc5ba90f 100644 --- a/napcat.webui/src/pages/network/HttpServerComponent.vue +++ b/napcat.webui/src/pages/network/HttpServerComponent.vue @@ -1,32 +1,34 @@ @@ -37,3 +39,21 @@ defineProps<{ config: HttpServerConfig; }>(); + + \ No newline at end of file diff --git a/napcat.webui/src/pages/network/WebsocketClientComponent.vue b/napcat.webui/src/pages/network/WebsocketClientComponent.vue index 5d602f16..9d2e89fe 100644 --- a/napcat.webui/src/pages/network/WebsocketClientComponent.vue +++ b/napcat.webui/src/pages/network/WebsocketClientComponent.vue @@ -1,26 +1,28 @@ @@ -31,3 +33,21 @@ defineProps<{ config: WebsocketClientConfig; }>(); + + \ No newline at end of file diff --git a/napcat.webui/src/pages/network/WebsocketServerComponent.vue b/napcat.webui/src/pages/network/WebsocketServerComponent.vue index 7ab633a6..a30af7e0 100644 --- a/napcat.webui/src/pages/network/WebsocketServerComponent.vue +++ b/napcat.webui/src/pages/network/WebsocketServerComponent.vue @@ -1,32 +1,34 @@ @@ -37,3 +39,21 @@ defineProps<{ config: WebsocketServerConfig; }>(); + + \ No newline at end of file