From 8eacaa294f719bc779524900f87b5603dbafd0ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E7=91=BE?= <74231782+sj817@users.noreply.github.com> Date: Mon, 8 Sep 2025 23:40:48 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BC=98=E5=8C=96=E7=BD=91?= =?UTF-8?q?=E7=BB=9C=E6=98=BE=E7=A4=BA=E5=8D=A1=E7=89=87=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=92=8C=E8=A1=8C=E4=B8=BA=EF=BC=8C=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E6=8C=89=E9=92=AE=E5=B1=9E=E6=80=A7=E4=BB=A5=E6=8F=90?= =?UTF-8?q?=E5=8D=87=E7=94=A8=E6=88=B7=E4=BD=93=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 7 ++++- .../components/display_card/common_card.tsx | 29 ++++++++++++++----- 2 files changed, 28 insertions(+), 8 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 48eac328..de49d5e8 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -9,4 +9,9 @@ "css.customData": [ ".vscode/tailwindcss.json" ], -} \ No newline at end of file + "editor.formatOnPaste": false, + "editor.formatOnSave": false, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": "never" + }, +} diff --git a/napcat.webui/src/components/display_card/common_card.tsx b/napcat.webui/src/components/display_card/common_card.tsx index caf8a361..74e29720 100644 --- a/napcat.webui/src/components/display_card/common_card.tsx +++ b/napcat.webui/src/components/display_card/common_card.tsx @@ -62,24 +62,39 @@ const NetworkDisplayCard = ({ -