Browse Source

修改写法

qufenxi
alan 5 years ago
parent
commit
734dc878cb
  1. 2
      src/modules/pages/connection/list/list.ts

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

@ -86,7 +86,7 @@ export class ConnectionList extends BI.LoadingPane {
type: ListItemXtype, type: ListItemXtype,
name: item.connectionName, name: item.connectionName,
value: item.connectionName, value: item.connectionName,
creator: BI.get(item, 'creator'), creator: item.creator,
databaseType: getDatabaseType(item), databaseType: getDatabaseType(item),
selected: this.model.connectionSelected ? this.model.connectionSelected === item.connectionName : index === 0, selected: this.model.connectionSelected ? this.model.connectionSelected === item.connectionName : index === 0,
}; };

Loading…
Cancel
Save