feat_环境配置_mysql增加多条语句执行配置提示

This commit is contained in:
wxg0103 2021-10-19 09:41:14 +08:00 committed by fit2-zhao
parent 6fd062fc97
commit d2c303e790
2 changed files with 6 additions and 0 deletions

View File

@ -16,8 +16,13 @@
<el-form-item :label="$t('api_test.request.sql.database_url')" prop="dbUrl">
<el-input v-model="currentConfig.dbUrl" maxlength="500" show-word-limit
:placeholder="$t('commons.input_content')"/>
<div v-if="currentConfig.driver ==='com.mysql.jdbc.Driver'">
<small>Tips: 执行多条SQL语句需配置allowMultiQueries=true</small>
</div>
</el-form-item>
<el-form-item :label="$t('api_test.request.sql.username')" prop="username">
<el-input v-model="currentConfig.username" maxlength="300" show-word-limit
:placeholder="$t('commons.input_content')"/>

View File

@ -1231,6 +1231,7 @@ export default {
timeout: "超时时间(ms)",
database_driver: "数据库驱动",
database_url: "数据库连接URL",
tips: "Tips: 执行多条SQL语句需配置allowMultiQueries=true",
username: "用户名",
password: "密码",
pool_max: "最大连接数",