disable ops for visturl rule

This commit is contained in:
yunlzheng
2020-02-23 19:24:37 +08:00
parent 5b5eb6244c
commit 3136a585c7
@@ -68,26 +68,26 @@ export default class VirtualService extends Component {
})
}
},
{
title: '',
key: 'Ops',
render: (httpRoute) => {
return [
{
name: 'Edit',
icon: 'edit',
onClick: () => { console.log('add version') }
},
{
name: 'Remove',
icon: 'delete',
onClick: () => { console.log('add version') }
}
].map((btn, index) => {
return <Button key={`httpRoute-btn-${index}`} shape="circle"><Icon type={btn.icon} /></Button>
})
}
}
// {
// title: '',
// key: 'Ops',
// render: (httpRoute) => {
// return [
// {
// name: 'Edit',
// icon: 'edit',
// onClick: () => { console.log('add version') }
// },
// {
// name: 'Remove',
// icon: 'delete',
// onClick: () => { console.log('add version') }
// }
// ].map((btn, index) => {
// return <Button key={`httpRoute-btn-${index}`} shape="circle"><Icon type={btn.icon} /></Button>
// })
// }
// }
]} />
</Card>
</div>