Browse Source

REPORT-91742 fix: 补充下默认值

release/11.0
Austin.Duan 2 years ago
parent
commit
9fa393d583
  1. 2
      src/modules/pages/connection/list/list_item/list_item.ts

2
src/modules/pages/connection/list/list_item/list_item.ts

@ -215,7 +215,7 @@ export class ListItem extends BI.BasicButton {
if (BI.isNull(connection)) return; if (BI.isNull(connection)) return;
const validationQuery = connection?.connectionData?.connectionPoolAttr?.validationQuery; const validationQuery = connection?.connectionData?.connectionPoolAttr?.validationQuery || '';
BI.set(connection, 'connectionData.connectionPoolAttr.validationQuery', api.getCipher(api.getPlain(validationQuery))); BI.set(connection, 'connectionData.connectionPoolAttr.validationQuery', api.getCipher(api.getPlain(validationQuery)));

Loading…
Cancel
Save