fix(项目设置): 项目环境数据库配置长度校验问题
--bug=1027646 --user=宋昌昌 【项目设置】github#25457,【项目设置】-项目环境:创建环境数据库配置数据库用户名输入框提示字符数限制长度300,而实际输入300个字符时提示长度在0到200个字符 https://www.tapd.cn/55049933/s/1392064
This commit is contained in:
parent
80f649c15c
commit
ae8cdfc3ff
|
@ -97,8 +97,7 @@ export default {
|
|||
currentConfig: new DatabaseConfig(),
|
||||
rules: {
|
||||
name: [
|
||||
{required: true, message: this.$t('commons.input_name'), trigger: 'blur'},
|
||||
{max: 300, message: this.$t('commons.input_limit', [0, 300]), trigger: 'blur'}
|
||||
{required: true, message: this.$t('commons.input_name'), trigger: 'blur'}
|
||||
],
|
||||
driver: [
|
||||
{required: true, message: this.$t('commons.cannot_be_null'), trigger: 'blur'},
|
||||
|
@ -107,12 +106,10 @@ export default {
|
|||
{max: 200, message: this.$t('commons.input_limit', [0, 200]), trigger: 'blur'}
|
||||
],
|
||||
dbUrl: [
|
||||
{required: true, message: this.$t('commons.cannot_be_null'), trigger: 'blur'},
|
||||
{max: 500, message: this.$t('commons.input_limit', [0, 500]), trigger: 'blur'}
|
||||
{required: true, message: this.$t('commons.cannot_be_null'), trigger: 'blur'}
|
||||
],
|
||||
username: [
|
||||
{required: true, message: this.$t('commons.cannot_be_null'), trigger: 'blur'},
|
||||
{max: 200, message: this.$t('commons.input_limit', [0, 200]), trigger: 'blur'}
|
||||
{required: true, message: this.$t('commons.cannot_be_null'), trigger: 'blur'}
|
||||
],
|
||||
poolMax: [
|
||||
{required: true, message: this.$t('commons.cannot_be_null'), trigger: 'blur'},
|
||||
|
|
Loading…
Reference in New Issue