Commit d3b653ad authored by 皮倩雯's avatar 皮倩雯

fix: '网关配置'

parent 4488bb4d
Pipeline #62472 passed with stages
...@@ -272,9 +272,7 @@ const GateConfig = () => { ...@@ -272,9 +272,7 @@ const GateConfig = () => {
key: 'action', key: 'action',
width: 100, width: 100,
align: 'center', align: 'center',
render: record => { render: record => (
if (record.key != 'CityServer') {
return (
<Space size="middle"> <Space size="middle">
<Tooltip title="编辑"> <Tooltip title="编辑">
<EditTwoTone onClick={() => edit(record)} style={{ fontSize: '16px' }} /> <EditTwoTone onClick={() => edit(record)} style={{ fontSize: '16px' }} />
...@@ -296,17 +294,7 @@ const GateConfig = () => { ...@@ -296,17 +294,7 @@ const GateConfig = () => {
</Popconfirm> </Popconfirm>
</Tooltip> </Tooltip>
</Space> </Space>
); ),
} else {
return (
<Space size="middle">
<Tooltip title="查看">
<SearchOutlined onClick={() => look(record)} style={{ fontSize: '16px' }} />
</Tooltip>
</Space>
);
}
},
}, },
]; ];
......
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