fix: 资源池校验

This commit is contained in:
chenjianxing 2020-08-07 19:14:33 +08:00
parent 2e130d3eb5
commit 6d6506a3cb
1 changed files with 4 additions and 4 deletions

View File

@ -75,13 +75,13 @@
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item prop="port" label="Port" style="padding-left: 20px"> <el-form-item prop="port" label="Port" style="padding-left: 20px">
<el-input-number v-model="item.port" :min="1" :max="9999"></el-input-number> <el-input-number v-model="item.port" :min="1" :max="65535"></el-input-number>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item prop="maxConcurrency" :label="$t('test_resource_pool.max_threads')" <el-form-item prop="maxConcurrency" :label="$t('test_resource_pool.max_threads')"
style="padding-left: 20px"> style="padding-left: 20px">
<el-input-number v-model="item.maxConcurrency" :min="1" :max="9999"></el-input-number> <el-input-number v-model="item.maxConcurrency" :min="1" :max="1000000000"></el-input-number>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :offset="2" :span="2"> <el-col :offset="2" :span="2">
@ -137,13 +137,13 @@
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item prop="port" label="Port" style="padding-left: 20px"> <el-form-item prop="port" label="Port" style="padding-left: 20px">
<el-input-number v-model="item.port" :min="1" :max="9999"></el-input-number> <el-input-number v-model="item.port" :min="1" :max="65535"></el-input-number>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item prop="maxConcurrency" :label="$t('test_resource_pool.max_threads')" <el-form-item prop="maxConcurrency" :label="$t('test_resource_pool.max_threads')"
style="padding-left: 20px"> style="padding-left: 20px">
<el-input-number v-model="item.maxConcurrency" :min="1" :max="9999"></el-input-number> <el-input-number v-model="item.maxConcurrency" :min="1" :max="1000000000"></el-input-number>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :offset="2" :span="2"> <el-col :offset="2" :span="2">