Browse Source

REPORT-75699 fix:规范方法命名

feature/x
Aries.lsy 2 years ago
parent
commit
787aa83b90
  1. 4
      src/modules/pages/maintain/forms/components/form.jdbc.ts

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

@ -121,7 +121,7 @@ export class FormJdbc extends BI.Widget {
} = connectionData as ConnectionJDBC;
this.oldPassword = password;
this.oldSshSecret = sshSecret;
!BI.isUndefined(principal) && this.getPrincipals(keyPath, principal);
!BI.isUndefined(principal) && this.initPrincipals(keyPath, principal);
const {
initialSize,
@ -1336,7 +1336,7 @@ export class FormJdbc extends BI.Widget {
this.form.keyPath.setFileInfo(KerberosParams);
}
public getPrincipals(keyPath, principal) {
public initPrincipals(keyPath, principal) {
let self = this;
api.getPrincipals(keyPath).then(res => {
const principalsItems = BI.map(res.data, function(index, item) {

Loading…
Cancel
Save