From 935e86cdebba52ec2edf20f90366823a8d979232 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Tue, 13 Jan 2026 21:24:57 +0800 Subject: [PATCH] =?UTF-8?q?refactor(monitor):=20=E9=87=8D=E6=9E=84?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E6=97=A5=E5=BF=97=E9=A2=84=E8=A7=88=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E4=BD=BF=E7=94=A8=20TSX=20=E8=AF=AD=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 使用 TSX 语法重写操作日志预览组件,简化模板代码并提高可维护性 移除 DescriptionsItem 组件,改用 items 属性配置描述项 --- .../operlog/operation-preview-drawer.vue | 139 +++++++++++------- 1 file changed, 88 insertions(+), 51 deletions(-) diff --git a/apps/web-antd/src/views/monitor/operlog/operation-preview-drawer.vue b/apps/web-antd/src/views/monitor/operlog/operation-preview-drawer.vue index dc92af5a..642b4586 100644 --- a/apps/web-antd/src/views/monitor/operlog/operation-preview-drawer.vue +++ b/apps/web-antd/src/views/monitor/operlog/operation-preview-drawer.vue @@ -1,4 +1,6 @@ - - - - {{ currentLog.operId }} - - - - - - - {{ currentLog.title }} - - - - - {{ actionInfo }} - - - - {{ currentLog.operUrl }} - - - - {{ currentLog.errorMsg }} - - - - {{ currentLog.method }} - - - - - - - - - - - - - {{ `${currentLog.costTime} ms` }} - - - {{ `${currentLog.operTime}` }} - - +