refactor: 设置迭代次数和rpslimit的上限

This commit is contained in:
Captain.B 2021-01-22 16:20:43 +08:00
parent 9025f42876
commit 96926b3311
1 changed files with 3 additions and 0 deletions

View File

@ -58,6 +58,7 @@
v-model="threadGroup.rpsLimit"
@change="calculateChart(threadGroup)"
:min="1"
:max="500"
size="mini"/>
</el-form-item>
<br>
@ -87,6 +88,7 @@
:disabled="isReadOnly"
v-model="threadGroup.iterateNum"
:min="1"
:max="10000"
@change="calculateChart(threadGroup)"
size="mini"/>
</el-form-item>
@ -98,6 +100,7 @@
:disabled="isReadOnly || !threadGroup.rpsLimitEnable"
v-model="threadGroup.rpsLimit"
:min="1"
:max="500"
size="mini"/>
</el-form-item>
<br>