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}