Browse Source

Merge pull request #7209 in DEC/decision-webui-dcm from bugfix/11.0 to feature/x

* commit '053a19374394e1d0069d544ff3f6bcbe2fb7bd20':
  REPORT-90357 fix: 修改主机、端口后清空密码
feature/x
superman 2 years ago
parent
commit
f0c968a6aa
  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