From 9976ccc05003d6ea1d97c94edc2019862bf9150d Mon Sep 17 00:00:00 2001 From: ZLY Date: Thu, 22 Jan 2026 14:56:33 +0800 Subject: [PATCH] =?UTF-8?q?pref(compAudit):=20=E4=BC=98=E5=8C=96=E9=99=84?= =?UTF-8?q?=E4=BB=B6=E4=B8=8B=E8=BD=BD=E7=9A=84=E5=89=8D=E7=BD=AE=E5=88=A4?= =?UTF-8?q?=E6=96=AD=EF=BC=8C=E4=BC=98=E5=8C=96=E7=89=88=E6=9C=AC=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E6=A8=A1=E6=80=81=E6=A1=86=E4=B8=AD=E7=9A=84table?= =?UTF-8?q?=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/componentDevelopment/componentList/compAudit.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/componentDevelopment/componentList/compAudit.tsx b/src/pages/componentDevelopment/componentList/compAudit.tsx index d3484b6..365f9e1 100644 --- a/src/pages/componentDevelopment/componentList/compAudit.tsx +++ b/src/pages/componentDevelopment/componentList/compAudit.tsx @@ -147,6 +147,7 @@ const CompAudit = () => { title: '组件附件', dataIndex: 'attachmentAddress', width: 120, + fixed: 'right' as const, render: (_, record: HistoryRecord) => { if (!record.main.attachmentAddress) return '-'; return ( @@ -293,7 +294,7 @@ const CompAudit = () => { // 下载组件附件 const handleDownloadAttachments = (attachmentAddress: string) => { - if (!attachmentAddress) { + if (!attachmentAddress || attachmentAddress == '[]') { Message.warning('暂无附件'); return; }