Browse Source

KERNEL-14885 fix: virtualgrouplist 爆栈

es6
Treecat 2 years ago
parent
commit
8fcf49e00c
  1. 12
      packages/fineui/src/base/list/virtualgrouplist.js

12
packages/fineui/src/base/list/virtualgrouplist.js

@ -38,15 +38,15 @@ export class VirtualGroupList extends Widget {
items: [
{
type: Layout.xtype,
ref: () => {
this.topBlank = this;
ref: (ref) => {
this.topBlank = ref;
},
},
{
type: VirtualGroup.xtype,
height: rowHeight * items.length,
ref: () => {
this.container = this;
ref: (ref) => {
this.container = ref;
},
layouts: [
extend(
@ -60,8 +60,8 @@ export class VirtualGroupList extends Widget {
},
{
type: Layout.xtype,
ref: () => {
this.bottomBlank = this;
ref: (ref) => {
this.bottomBlank = ref;
},
}
],

Loading…
Cancel
Save