Browse Source

Pull request #7198: REPORT-90357 fix: 修改主机、端口后清空密码

Merge in DEC/decision-webui-dcm from ~AUSTIN.DUAN/decision-webui-dcm:release/11.0 to release/11.0

* commit '4f09f02a5d928e66696b0cf3f0565d0c29903766':
  REPORT-90357 fix: 修改主机、端口后清空密码
release/11.0
Austin.Duan-段嗣跃 2 years ago
parent
commit
2704bfb85e
  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