fix(系统设置): 资源池配置信息过长报错问题

--bug=1028358 --user=宋昌昌 【系统设置】github#25988,系统设置-创建资源池,JMeter HEAP/Jmeter_GC_ALGO 输入超长字符,提示 internal exception occured https://www.tapd.cn/55049933/s/1401271
This commit is contained in:
song-cc-rock 2023-08-07 14:02:53 +08:00 committed by fit2-zhao
parent ca44c3e3f8
commit dbe3df5099
1 changed files with 2 additions and 2 deletions

View File

@ -81,11 +81,11 @@
<el-checkbox :label="$t('commons.performance')" v-model="form.performance"></el-checkbox> <el-checkbox :label="$t('commons.performance')" v-model="form.performance"></el-checkbox>
</el-form-item> </el-form-item>
<el-form-item label="JMeter HEAP" prop="HEAP"> <el-form-item label="JMeter HEAP" prop="HEAP">
<el-input v-model="form.heap" placeholder="-Xms1g -Xmx1g -XX:MaxMetaspaceSize=256m"/> <el-input v-model="form.heap" placeholder="-Xms1g -Xmx1g -XX:MaxMetaspaceSize=256m" maxlength="200" show-word-limit/>
</el-form-item> </el-form-item>
<el-form-item label="JMeter GC_ALGO" prop="GC_ALGO"> <el-form-item label="JMeter GC_ALGO" prop="GC_ALGO">
<el-input v-model="form.gcAlgo" <el-input v-model="form.gcAlgo"
placeholder="-XX:+UseG1GC -XX:MaxGCPauseMillis=100 -XX:G1ReservePercent=20"/> placeholder="-XX:+UseG1GC -XX:MaxGCPauseMillis=100 -XX:G1ReservePercent=20" maxlength="200" show-word-limit/>
</el-form-item> </el-form-item>
<el-form-item prop="type" :label="$t('test_resource_pool.type')"> <el-form-item prop="type" :label="$t('test_resource_pool.type')">
<el-select v-model="form.type" :placeholder="$t('test_resource_pool.select_pool_type')" <el-select v-model="form.type" :placeholder="$t('test_resource_pool.select_pool_type')"