From 5a37144950c55bf8a9d10da084a9be87207de00c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Fri, 14 Jun 2024 14:23:34 +0800 Subject: [PATCH] =?UTF-8?q?feature/2.9.42310.01-=E8=96=AA=E8=B5=84?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=8B=93=E6=89=91=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/calcTable/index.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/pages/calcTable/index.tsx b/src/pages/calcTable/index.tsx index b14d72c..3bc99ce 100644 --- a/src/pages/calcTable/index.tsx +++ b/src/pages/calcTable/index.tsx @@ -86,10 +86,13 @@ const index: FunctionComponent = (props) => { render: (text: string, record: any) => ( {text} - handleDiagramTd(item?.dataIndex, record?.id)} - /> + { + (item.lockStatus === "LOCK" || record.lockStatus === "LOCK") ? + handleDiagramTd(item?.dataIndex, record?.id)} + /> : null + } { (item.lockStatus === "LOCK" || record.lockStatus === "LOCK") ? : null