|
|
@ -29,6 +29,9 @@ export class ConnectionListModel extends Model<{ |
|
|
|
.getHashSearchParams("databaseId"); |
|
|
|
.getHashSearchParams("databaseId"); |
|
|
|
|
|
|
|
|
|
|
|
this.model.connections.forEach(item => { |
|
|
|
this.model.connections.forEach(item => { |
|
|
|
|
|
|
|
// REPORT-111534 有些环境存在脏数据,补下容错
|
|
|
|
|
|
|
|
if (BI.isNull(item.connectionData)) return; |
|
|
|
|
|
|
|
|
|
|
|
// 后端传过来的是字符串,转为对象
|
|
|
|
// 后端传过来的是字符串,转为对象
|
|
|
|
BI.isString(item.connectionData) && (item.connectionData = JSON.parse(item.connectionData as string)); |
|
|
|
BI.isString(item.connectionData) && (item.connectionData = JSON.parse(item.connectionData as string)); |
|
|
|
|
|
|
|
|
|
|
|