|
|
|
@ -119,12 +119,6 @@ const ComponentEnv = () => {
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
render: (_, record: any) => (
|
|
|
|
render: (_, record: any) => (
|
|
|
|
<Space>
|
|
|
|
<Space>
|
|
|
|
{record.isEnable === 'NOT_EXIST' && record.available == '1' && (
|
|
|
|
|
|
|
|
<Button type="text" onClick={() => {
|
|
|
|
|
|
|
|
setAddItem(record);
|
|
|
|
|
|
|
|
setVisible1(true);
|
|
|
|
|
|
|
|
}}>容器配置</Button>
|
|
|
|
|
|
|
|
)}
|
|
|
|
|
|
|
|
{record.isEnable === 'RUNNING' && (
|
|
|
|
{record.isEnable === 'RUNNING' && (
|
|
|
|
<Button
|
|
|
|
<Button
|
|
|
|
type="text"
|
|
|
|
type="text"
|
|
|
|
@ -146,6 +140,12 @@ const ComponentEnv = () => {
|
|
|
|
启动
|
|
|
|
启动
|
|
|
|
</Button>
|
|
|
|
</Button>
|
|
|
|
)}
|
|
|
|
)}
|
|
|
|
|
|
|
|
{record.isEnable !== 'RUNNING' && record.available == '1' && (
|
|
|
|
|
|
|
|
<Button type="text" onClick={() => {
|
|
|
|
|
|
|
|
setAddItem(record);
|
|
|
|
|
|
|
|
setVisible1(true);
|
|
|
|
|
|
|
|
}}>容器配置</Button>
|
|
|
|
|
|
|
|
)}
|
|
|
|
<Button
|
|
|
|
<Button
|
|
|
|
type="text"
|
|
|
|
type="text"
|
|
|
|
loading={loadingActions.id === record.id && loadingActions.action === 'test'}
|
|
|
|
loading={loadingActions.id === record.id && loadingActions.action === 'test'}
|
|
|
|
|