|
|
@ -44,7 +44,7 @@ export class ConnectionListModel extends Model<{ |
|
|
|
// 仅首次进入时从url中读取参数,其他情况保留选中状态
|
|
|
|
// 仅首次进入时从url中读取参数,其他情况保留选中状态
|
|
|
|
defaultDatabaseName ||= data.data[0].connectionName; |
|
|
|
defaultDatabaseName ||= data.data[0].connectionName; |
|
|
|
|
|
|
|
|
|
|
|
this.setSelectedConnection(this.model.connectionSelected || defaultDatabaseName); |
|
|
|
this.setSelectedConnection(defaultDatabaseName); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return new Promise(resolve => { |
|
|
|
return new Promise(resolve => { |
|
|
|