mirror of https://github.com/openspug/spug
U 优化主机字段标题展示
parent
50b62374f3
commit
e10fd0c08a
|
@ -45,10 +45,10 @@ class HostSelector extends React.Component {
|
|||
title: '类别',
|
||||
dataIndex: 'zone',
|
||||
}, {
|
||||
title: '名称',
|
||||
title: '主机名称',
|
||||
dataIndex: 'name',
|
||||
}, {
|
||||
title: '主机',
|
||||
title: '连结地址',
|
||||
dataIndex: 'hostname',
|
||||
}, {
|
||||
title: '端口',
|
||||
|
|
|
@ -114,9 +114,9 @@ class ComForm extends React.Component {
|
|||
<Button type="link" onClick={this.handleAddZone}>添加类别</Button>
|
||||
</Col>
|
||||
</Form.Item>
|
||||
<Form.Item required label="主机别名">
|
||||
<Form.Item required label="主机名称">
|
||||
{getFieldDecorator('name', {initialValue: info['name']})(
|
||||
<Input placeholder="请输入主机别名"/>
|
||||
<Input placeholder="请输入主机名称"/>
|
||||
)}
|
||||
</Form.Item>
|
||||
<Form.Item required label="连接地址" style={{marginBottom: 0}}>
|
||||
|
|
|
@ -26,10 +26,10 @@ class ComTable extends React.Component {
|
|||
title: '类别',
|
||||
dataIndex: 'zone',
|
||||
}, {
|
||||
title: '名称',
|
||||
title: '主机名称',
|
||||
dataIndex: 'name',
|
||||
}, {
|
||||
title: '主机',
|
||||
title: '连接地址',
|
||||
dataIndex: 'hostname',
|
||||
}, {
|
||||
title: '端口',
|
||||
|
|
Loading…
Reference in New Issue