Browse Source

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

* commit '4bb3f8e36048291962505440a6787f536aea0307':
  fix: DEC-10052 端口号只允许输入数字
qufenxi
alan 5 years ago
parent
commit
23903c911d
  1. 2
      src/modules/pages/maintain/forms/components/form.jdbc.ts

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

@ -174,6 +174,8 @@ export class FormJdbc extends BI.Widget {
allowBlank: true,
value: port,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Port'),
errorText: BI.i18nText('Dec-Dcm_Connection_Check_Integer'),
validationChecker: (value: string) => this.checkInteger(value),
ref: (_ref: any) => {
this.form.port = _ref;
},

Loading…
Cancel
Save