Browse Source

feat: DEC-9068 无数据连接时显示空

qufenxi
alan 5 years ago
parent
commit
e96583ebf9
  1. 12
      src/modules/pages/connection_pool/connection_pool.ts

12
src/modules/pages/connection_pool/connection_pool.ts

@ -1,5 +1,5 @@
import { shortcut, store } from '@core/core';
import { ButtonGroup, Htape, Vtape, Label, Vertical } from 'ui';
import { ButtonGroup, Htape, Vtape, Label, Vertical, Layout } from 'ui';
import { ConnectionPoolModel, ConnectionPoolModelXtype } from './connection_pool.model';
import { ListItemXtype } from './list_item/list_item';
import { PoolXtype } from './pool/pool';
@ -72,9 +72,13 @@ export class ConnectionPool extends BI.Widget {
},
height: 40,
},
{
type: PoolXtype,
},
this.model.connectionJDBC.length > 0 ?
{
type: PoolXtype,
} :
{
type: Layout,
},
],
},
],

Loading…
Cancel
Save