Browse Source

fix: DEC-10156 修改数据连接池分页的bug

qufenxi
alan 5 years ago
parent
commit
bb12eb6cdc
  1. 2
      src/modules/pages/connection_pool/connection_pool.ts

2
src/modules/pages/connection_pool/connection_pool.ts

@ -51,7 +51,7 @@ export class ConnectionPool extends BI.Widget {
itemsCreator: (options: {times: number}, populate) => { itemsCreator: (options: {times: number}, populate) => {
populate(this.renderList((options.times - 1) * 50, options.times * 50)); populate(this.renderList((options.times - 1) * 50, options.times * 50));
}, },
hasNext: options => options.times * 50 < BI.size(this.model.connections), hasNext: options => options.times * 50 < BI.size(this.model.connectionJDBC),
}, },
], ],
}, },

Loading…
Cancel
Save