Browse Source

无JIRA fix: 先禁用了输入ip端口数据库名称

qufenxi
congqiu 5 years ago
parent
commit
e0091dcda3
  1. 3
      src/modules/pages/maintain/forms/components/form.jdbc.ts

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

@ -116,6 +116,7 @@ export class FormJdbc extends BI.Widget {
allowBlank: true,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Name'),
value: '', // TODO: 数据库名称待适配
disabled: true,
ref: (_ref: any) => {
this.form.database = _ref;
},
@ -130,6 +131,7 @@ export class FormJdbc extends BI.Widget {
allowBlank: true,
value: host,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Host'),
disabled: true,
ref: (_ref: any) => {
this.form.host = _ref;
},
@ -150,6 +152,7 @@ export class FormJdbc extends BI.Widget {
allowBlank: true,
value: port === 0 ? '' : port,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Port'),
disabled: true,
ref: (_ref: any) => {
this.form.port = _ref;
},

Loading…
Cancel
Save