From 17cd46e9c3685880c356cc86b512e7e379f2cc98 Mon Sep 17 00:00:00 2001 From: root <295172551@qq.com> Date: Sat, 2 Aug 2025 16:30:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=BB=E9=A2=98=E9=80=82?= =?UTF-8?q?=E9=85=8D=E9=97=AE=E9=A2=98=EF=BC=9A1.=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=B6=88=E6=81=AF=E8=AF=A6=E6=83=85=E6=8A=BD=E5=B1=89=E6=BB=9A?= =?UTF-8?q?=E5=8A=A8=E6=9D=A1=E4=BD=8D=E7=BD=AE=E9=97=AE=E9=A2=98=202.=20?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=B6=88=E6=81=AF=E8=AF=A6=E6=83=85=E6=8A=BD?= =?UTF-8?q?=E5=B1=89=E7=9A=84=E4=BF=9D=E5=AD=98=E5=92=8C=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=203.=20=E4=BF=AE=E5=A4=8DConfigContentViewer?= =?UTF-8?q?=E4=B8=BB=E9=A2=98=E9=80=82=E9=85=8D=E9=97=AE=E9=A2=98=204.=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8DRANConfigurationViewDialog=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E9=80=82=E9=85=8D=E9=97=AE=E9=A2=98=205.=20=E4=BF=AE=E5=A4=8DI?= =?UTF-8?q?MSConfigurationViewDialog=E4=B8=BB=E9=A2=98=E9=80=82=E9=85=8D?= =?UTF-8?q?=E9=97=AE=E9=A2=98=206.=20=E4=BF=AE=E5=A4=8DCoreNetworkConfigVi?= =?UTF-8?q?ewDialog=E4=B8=BB=E9=A2=98=E9=80=82=E9=85=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../protocol-logs/ProtocolLogsTable.tsx | 56 +- .../src/components/ui/ConfigContentViewer.tsx | 7 +- src/X1.WebUI/src/components/ui/drawer.tsx | 2 +- .../CoreNetworkConfigViewDialog.tsx | 20 +- .../IMSConfigurationViewDialog.tsx | 20 +- .../RANConfigurationViewDialog.tsx | 20 +- src/modify.md | 487 +++++++++++++++++- 7 files changed, 547 insertions(+), 65 deletions(-) diff --git a/src/X1.WebUI/src/components/protocol-logs/ProtocolLogsTable.tsx b/src/X1.WebUI/src/components/protocol-logs/ProtocolLogsTable.tsx index ab19215..8db7e08 100644 --- a/src/X1.WebUI/src/components/protocol-logs/ProtocolLogsTable.tsx +++ b/src/X1.WebUI/src/components/protocol-logs/ProtocolLogsTable.tsx @@ -261,35 +261,33 @@ export default function ProtocolLogsTable({ - {/* 消息详情抽屉 */} - -
- -
-

Message Detail

- -
-
- - -
- -
-
-
-
+ {/* 消息详情抽屉 */} + +
+ +
+

Message Detail

+ +
+
+ + +
+ +
+
+
+
); } \ No newline at end of file diff --git a/src/X1.WebUI/src/components/ui/ConfigContentViewer.tsx b/src/X1.WebUI/src/components/ui/ConfigContentViewer.tsx index 9aa4c88..0a5f37c 100644 --- a/src/X1.WebUI/src/components/ui/ConfigContentViewer.tsx +++ b/src/X1.WebUI/src/components/ui/ConfigContentViewer.tsx @@ -152,7 +152,7 @@ export default function ConfigContentViewer({ {isSearchVisible && (
- +
{searchTerm && ( - + {totalMatches > 0 ? ( {currentMatchIndex + 1} / {totalMatches} @@ -236,11 +236,10 @@ export default function ConfigContentViewer({
{/* 配置内容显示区域 */} -
+
+
{children}
) diff --git a/src/X1.WebUI/src/pages/core-network-configs/CoreNetworkConfigViewDialog.tsx b/src/X1.WebUI/src/pages/core-network-configs/CoreNetworkConfigViewDialog.tsx index 5d156d0..6c812aa 100644 --- a/src/X1.WebUI/src/pages/core-network-configs/CoreNetworkConfigViewDialog.tsx +++ b/src/X1.WebUI/src/pages/core-network-configs/CoreNetworkConfigViewDialog.tsx @@ -64,9 +64,9 @@ export default function CoreNetworkConfigViewDialog({ return ( - +
- + 查看配置内容 - {config.name}