Browse Source

Merge pull request #7515 in DEC/decision-webui-dcm from release/11.0 to bugfix/11.0

* commit 'a0ecf5b85c0c67c4ef10791e1a1d2c3e06406369':
  REPORT-93097 fix: 修复数据连接多次连接报错问题
bugfix/11.0
superman 2 years ago
parent
commit
02d7267e13
  1. 4
      src/modules/pages/connection/list/list_item/list_item.ts

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

@ -222,8 +222,8 @@ export class ListItem extends BI.BasicButton {
private testConnectionAction() { private testConnectionAction() {
// 接口返回的内容是对称加密的,前端要先解密再用新加密传回去 // 接口返回的内容是对称加密的,前端要先解密再用新加密传回去
const connection = this.model.connections const connection = BI.cloneDeep(this.model.connections
.find(item => item.connectionName === this.options.name); .find(item => item.connectionName === this.options.name));
if (BI.isNull(connection)) return; if (BI.isNull(connection)) return;

Loading…
Cancel
Save