Browse Source

DEC-19477 fix: 【自动化】数据连接-sql验证查询语句在右侧配置页面显示的是密文

feature/10.0
dailer 3 years ago
parent
commit
4970ca6067
  1. 6
      src/modules/pages/connection/connection_jdbc/connection_jdbc.ts

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

@ -6,6 +6,10 @@ import { ConnectionJDBC } from 'src/modules/crud/crud.typings';
import { getAllDatabaseTypes, getJdbcDatabaseType, resolveUrlInfo } from '../../../app.service';
import { CONNECTION_LAYOUT } from '@constants/constant';
import { VerticalLayout } from '@fui/core';
import { ApiFactory } from '../../../crud/apiFactory';
const api = new ApiFactory().create();
@shortcut()
@store(ConnectionJdecModel)
export class ConnectionJdbc extends BI.Widget {
@ -132,7 +136,7 @@ export class ConnectionJdbc extends BI.Widget {
{
type: FormItem.xtype,
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_Validation_Query'),
value: connectionPoolAttr.validationQuery,
value: api.getPlain(connectionPoolAttr.validationQuery || ''),
},
{
type: FormItem.xtype,

Loading…
Cancel
Save