Browse Source

Merge pull request #111 in DEC/decision-webui-dcm from ~ALAN/decision-webui-dcm:feature/10.0 to release/10.0

* commit 'b4907e84599a3360f8b3d1b21e4006250c488262':
  fix: DEC-10479 输入数字的地方不可以为空
qufenxi
alan 5 years ago
parent
commit
0817232456
  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: [{ forms: [{
type: TextCheckerXtype, type: TextCheckerXtype,
width: 300, width: 300,
allowBlank: true, allowBlank: false,
value: initialSize, value: initialSize,
validationChecker: [{ validationChecker: [{
errorText: BI.i18nText('Dec-Dcm_Connection_Check_Integer'), errorText: BI.i18nText('Dec-Dcm_Connection_Check_Integer'),
@ -413,7 +413,7 @@ export class FormJdbc extends BI.Widget {
forms: [{ forms: [{
type: TextCheckerXtype, type: TextCheckerXtype,
width: 300, width: 300,
allowBlank: true, allowBlank: false,
value: maxActive, value: maxActive,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Max_Active'), watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Max_Active'),
validationChecker: [{ validationChecker: [{
@ -432,7 +432,7 @@ export class FormJdbc extends BI.Widget {
forms: [{ forms: [{
type: TextCheckerXtype, type: TextCheckerXtype,
width: 300, width: 300,
allowBlank: true, allowBlank: false,
value: maxIdle, value: maxIdle,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Max_Idle'), watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Max_Idle'),
validationChecker: [{ validationChecker: [{
@ -451,7 +451,7 @@ export class FormJdbc extends BI.Widget {
forms: [{ forms: [{
type: TextCheckerXtype, type: TextCheckerXtype,
width: 300, width: 300,
allowBlank: true, allowBlank: false,
value: minIdle, value: minIdle,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Min_Idle'), watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Min_Idle'),
validationChecker: [{ validationChecker: [{
@ -471,7 +471,7 @@ export class FormJdbc extends BI.Widget {
{ {
type: TextCheckerXtype, type: TextCheckerXtype,
width: 300, width: 300,
allowBlank: true, allowBlank: false,
value: maxWait, value: maxWait,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Max_Wait'), watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Max_Wait'),
validationChecker: [{ validationChecker: [{
@ -558,7 +558,7 @@ export class FormJdbc extends BI.Widget {
{ {
type: TextCheckerXtype, type: TextCheckerXtype,
width: 300, width: 300,
allowBlank: true, allowBlank: false,
value: timeBetweenEvictionRunsMillis, value: timeBetweenEvictionRunsMillis,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Test_Between_Eviction_Millis'), watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Test_Between_Eviction_Millis'),
validationChecker: [{ validationChecker: [{
@ -583,7 +583,7 @@ export class FormJdbc extends BI.Widget {
forms: [{ forms: [{
type: TextCheckerXtype, type: TextCheckerXtype,
width: 300, width: 300,
allowBlank: true, allowBlank: false,
value: numTestsPerEvictionRun, value: numTestsPerEvictionRun,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Tests_PerEviction_Run_Num'), watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Tests_PerEviction_Run_Num'),
validationChecker: [{ validationChecker: [{
@ -603,7 +603,7 @@ export class FormJdbc extends BI.Widget {
{ {
type: TextCheckerXtype, type: TextCheckerXtype,
width: 300, width: 300,
allowBlank: true, allowBlank: false,
value: minEvictableIdleTimeMillis, value: minEvictableIdleTimeMillis,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Min_Evictable_Idle_Time_Millis'), watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Min_Evictable_Idle_Time_Millis'),
validationChecker: [{ validationChecker: [{

Loading…
Cancel
Save