Commit 9c4e2939 by zhaochengxiang

操作

parent 70221c38
...@@ -388,7 +388,7 @@ const ModelTable = (props) => { ...@@ -388,7 +388,7 @@ const ModelTable = (props) => {
{ {
hiddenActions.map((item, index) => { hiddenActions.map((item, index) => {
return ( return (
<Menu.Item key={index} value={item.key} > <Menu.Item key={item.key} >
<div style={{ textAlign: 'center' }}> <div style={{ textAlign: 'center' }}>
{item.title} {item.title}
</div> </div>
...@@ -941,7 +941,7 @@ const ModelTable = (props) => { ...@@ -941,7 +941,7 @@ const ModelTable = (props) => {
style: { backgroundColor: (record?.id===anchorId)?'#e7f7ff':'transparent' }, style: { backgroundColor: (record?.id===anchorId)?'#e7f7ff':'transparent' },
onContextMenu: event => { onContextMenu: event => {
setCurrentItem(record); setCurrentItem(record);
displayMenu(event); // displayMenu(event);
}, },
} }
}} }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment