From 4a019426756896d043f5cdb32fe33719d1c77937 Mon Sep 17 00:00:00 2001 From: lys <971387674@qq.com> Date: Mon, 4 Nov 2024 13:54:41 +0800 Subject: [PATCH] master --- src/pages/calcTable/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/calcTable/index.tsx b/src/pages/calcTable/index.tsx index 3054438..7010adc 100644 --- a/src/pages/calcTable/index.tsx +++ b/src/pages/calcTable/index.tsx @@ -105,7 +105,7 @@ const index: FunctionComponent = (props) => { i18n: item.i18n, onCell: (record: any) => ({ onContextMenu: (e: any) => { - e.preventDefault(); + record.lockItems && e.preventDefault(); } }), render: (text: string, record: any) => { @@ -134,7 +134,7 @@ const index: FunctionComponent = (props) => { } ]; return ( - + {text}