diff --git a/src/pages/calcTable/index.tsx b/src/pages/calcTable/index.tsx index 159e8c0..603916a 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) => { - record.lockItems && e.preventDefault(); + !item.calcDetail && e.preventDefault(); } }), render: (text: string, record: any) => { @@ -134,7 +134,7 @@ const index: FunctionComponent = (props) => { } ]; return ( - + {text}