|
@@ -74,15 +74,6 @@ class Index extends Component {
|
|
|
const { onCancel, showModal } = this.props
|
|
|
|
|
|
this.formSetting = [
|
|
|
- {
|
|
|
- label: '压测链接数',
|
|
|
- key: 'connects',
|
|
|
- value: params.connects,
|
|
|
- placeholder: '请输入 压测链接数 (仅数字有效)',
|
|
|
- isRequired: true,
|
|
|
- type: 'input',
|
|
|
- onChange: (e) => { this.onChange(e, 'connects') }
|
|
|
- },
|
|
|
{
|
|
|
label: '压测线程数',
|
|
|
key: 'threads',
|
|
@@ -92,6 +83,15 @@ class Index extends Component {
|
|
|
type: 'input',
|
|
|
onChange: (e) => { this.onChange(e, 'threads') }
|
|
|
},
|
|
|
+ {
|
|
|
+ label: '压测链接数',
|
|
|
+ key: 'connects',
|
|
|
+ value: params.connects,
|
|
|
+ placeholder: '请输入 压测链接数 (仅数字有效)',
|
|
|
+ isRequired: true,
|
|
|
+ type: 'input',
|
|
|
+ onChange: (e) => { this.onChange(e, 'connects') }
|
|
|
+ },
|
|
|
{
|
|
|
label: '接口超过时间',
|
|
|
key: 'timeout',
|