Browse Source

REPORT-81743 fix:用buttongroup替换listview

release/11.0
Aries.lsy 2 years ago
parent
commit
00c48eee0c
  1. 10
      src/modules/pages/maintain/maintain.ts

10
src/modules/pages/maintain/maintain.ts

@ -9,7 +9,7 @@ import './maintain.less';
import { connectionType } from '@constants/env';
import { getJdbcDatabaseType, getTextByDatabaseType } from '../../app.service';
import { ConnectionJDBC } from 'src/modules/crud/crud.typings';
import { ListView } from '@fui/core';
import { ButtonGroup } from '@fui/core';
@shortcut()
@store(MaintainModel)
@ -19,7 +19,7 @@ export class Maintain extends BI.Widget {
model: MaintainModel['model'];
store: MaintainModel['store'];
listView: ListView;
buttonGroup: ButtonGroup;
socketTip: LinkButton;
render() {
@ -64,9 +64,9 @@ export class Maintain extends BI.Widget {
],
},
{
type: BI.ListView.xtype,
ref: (_ref: ListView) => {
this.listView = _ref;
type: BI.ButtonGroup.xtype,
ref: (_ref: ButtonGroup) => {
this.buttonGroup = _ref;
},
items: this.renderItems(),
},

Loading…
Cancel
Save