refactor(接口测试): 数据库配置检验
This commit is contained in:
parent
fa517ea34d
commit
cbf889831b
|
@ -29,7 +29,7 @@
|
|||
</el-form-item>
|
||||
|
||||
<el-form-item :label="$t('api_test.request.sql.pool_max')" prop="poolMax">
|
||||
<el-input-number size="small" :disabled="isReadOnly" v-model="currentConfig.poolMax" :placeholder="$t('commons.please_select')" :max="1000*10000000" :min="0"/>
|
||||
<el-input-number size="small" :disabled="isReadOnly" v-model="currentConfig.poolMax" :placeholder="$t('commons.please_select')" :max="100" :min="0"/>
|
||||
</el-form-item>
|
||||
|
||||
|
||||
|
|
|
@ -609,8 +609,8 @@ export class DatabaseConfig extends BaseConfig {
|
|||
super();
|
||||
this.id = undefined;
|
||||
this.name = undefined;
|
||||
this.poolMax = undefined;
|
||||
this.timeout = undefined;
|
||||
this.poolMax = 1;
|
||||
this.timeout = 100000;
|
||||
this.driver = undefined;
|
||||
this.dbUrl = undefined;
|
||||
this.username = undefined;
|
||||
|
|
Loading…
Reference in New Issue