diff --git a/src/pages/calcTable/index.tsx b/src/pages/calcTable/index.tsx index c524647..30b32fd 100644 --- a/src/pages/calcTable/index.tsx +++ b/src/pages/calcTable/index.tsx @@ -106,7 +106,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) => { @@ -135,7 +135,7 @@ const index: FunctionComponent = (props) => { } ]; return ( - + {text}