Browse Source

perf: 压测线程数填写顺序调整

石玲燕 3 years ago
parent
commit
ac75d3b853
1 changed files with 9 additions and 9 deletions
  1. 9 9
      src/pages/halberd/components/startTask/index.js

+ 9 - 9
src/pages/halberd/components/startTask/index.js

@@ -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',