Browse Source

fix: DEC-10014 密钥路径不显示明文

qufenxi
alan 5 years ago
parent
commit
328651a016
  1. 4
      src/modules/pages/connection/connection_jdbc/connection_jdbc.ts

4
src/modules/pages/connection/connection_jdbc/connection_jdbc.ts

@ -16,7 +16,7 @@ export class ConnectionJdbc extends BI.Widget {
render () {
const connectionData = this.model.connectionSelectedOne.connectionData as ConnectionJDBC;
const { driver, database, user, newCharsetName, schema, connectionPoolAttr, authType, principal, keyPath, url } = connectionData;
const { driver, database, user, newCharsetName, schema, connectionPoolAttr, authType, principal, url } = connectionData;
const databaseType = getJdbcDatabaseType(database, driver);
const { host, port, databaseName } = resolveUrlInfo(url);
@ -53,7 +53,7 @@ export class ConnectionJdbc extends BI.Widget {
{
type: FormItemXtype,
name: authType ? BI.i18nText('Dec-Dcm_Connection_Form_KeyPath') : BI.i18nText('Dec-Dcm_Connection_Form_Password'),
value: authType ? keyPath : '******',
value: '******',
},
{
type: FormItemXtype,

Loading…
Cancel
Save