Browse Source

fix: DEC-10479 输入数字的地方不可以为空

qufenxi
alan 5 years ago
parent
commit
b4907e8459
  1. 16
      src/modules/pages/maintain/forms/components/form.jdbc.ts

16
src/modules/pages/maintain/forms/components/form.jdbc.ts

@ -394,7 +394,7 @@ export class FormJdbc extends BI.Widget {
forms: [{
type: TextCheckerXtype,
width: 300,
allowBlank: true,
allowBlank: false,
value: initialSize,
validationChecker: [{
errorText: BI.i18nText('Dec-Dcm_Connection_Check_Integer'),
@ -413,7 +413,7 @@ export class FormJdbc extends BI.Widget {
forms: [{
type: TextCheckerXtype,
width: 300,
allowBlank: true,
allowBlank: false,
value: maxActive,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Max_Active'),
validationChecker: [{
@ -432,7 +432,7 @@ export class FormJdbc extends BI.Widget {
forms: [{
type: TextCheckerXtype,
width: 300,
allowBlank: true,
allowBlank: false,
value: maxIdle,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Max_Idle'),
validationChecker: [{
@ -451,7 +451,7 @@ export class FormJdbc extends BI.Widget {
forms: [{
type: TextCheckerXtype,
width: 300,
allowBlank: true,
allowBlank: false,
value: minIdle,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Min_Idle'),
validationChecker: [{
@ -471,7 +471,7 @@ export class FormJdbc extends BI.Widget {
{
type: TextCheckerXtype,
width: 300,
allowBlank: true,
allowBlank: false,
value: maxWait,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Max_Wait'),
validationChecker: [{
@ -558,7 +558,7 @@ export class FormJdbc extends BI.Widget {
{
type: TextCheckerXtype,
width: 300,
allowBlank: true,
allowBlank: false,
value: timeBetweenEvictionRunsMillis,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Test_Between_Eviction_Millis'),
validationChecker: [{
@ -583,7 +583,7 @@ export class FormJdbc extends BI.Widget {
forms: [{
type: TextCheckerXtype,
width: 300,
allowBlank: true,
allowBlank: false,
value: numTestsPerEvictionRun,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Tests_PerEviction_Run_Num'),
validationChecker: [{
@ -603,7 +603,7 @@ export class FormJdbc extends BI.Widget {
{
type: TextCheckerXtype,
width: 300,
allowBlank: true,
allowBlank: false,
value: minEvictableIdleTimeMillis,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Min_Evictable_Idle_Time_Millis'),
validationChecker: [{

Loading…
Cancel
Save