Browse Source

优化下逻辑

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

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

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

Loading…
Cancel
Save