Przeglądaj źródła

perf: 优化展示,方便赵明明查看排序

石玲燕 3 lat temu
rodzic
commit
ad945a312e

+ 1 - 0
src/pages/halberd/components/addTask/index.js

@@ -303,6 +303,7 @@ class Index extends Component {
                     flexWrap: 'wrap'
                   }}
                 >
+                  {i + 1}: 
                   <TextArea
                     value={d.url}
                     style={{ width: 450 }}

+ 1 - 1
src/pages/halberd/components/psReport/index.js

@@ -240,7 +240,7 @@ const Page = props => {
       <div className={s.descriptionWrap}>
         <Descriptions bordered>
           <Descriptions.Item label="压测参数" span={24}>
-            -t {data.threads} -c {data.connects} -d {data.duration} -timeout {data.timeout}
+            线程 {data.threads} 并发数 {data.connects} 持续时间 {data.duration} 接口超时时间 {data.timeout}
           </Descriptions.Item>
           <Descriptions.Item label="服务器配置" span={8}>
             {get(data, 'monitor.infoResult')}