Browse Source

Merge pull request #7208 in DEC/decision-webui-dcm from release/11.0 to bugfix/11.0

* commit 'dabd63c2fec496db653d9035aa3e7f2ae890d1c2':
  REPORT-90357 fix: 修改主机、端口后清空密码
bugfix/11.0
superman 2 years ago
parent
commit
053a193743
  1. 16
      src/modules/pages/maintain/forms/components/form.jdbc.ts

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

@ -1015,6 +1015,14 @@ export class FormJdbc extends BI.Widget {
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Host'),
allowBlank: false,
value: sshIp || 'hostname',
listeners: [
{
eventName: BI.Editor.EVENT_CHANGE,
action: () => {
this.form.sshSecret.setValue("");
}
}
]
},
],
},
@ -1038,6 +1046,14 @@ export class FormJdbc extends BI.Widget {
valueRangeConfig,
],
value: String(sshPort || 22),
listeners: [
{
eventName: BI.Editor.EVENT_CHANGE,
action: () => {
this.form.sshSecret.setValue("");
}
}
]
},
],
},

Loading…
Cancel
Save