From 8fcf49e00c4dc6caaea657f63c748ba6ef7ae190 Mon Sep 17 00:00:00 2001 From: Treecat Date: Thu, 6 Apr 2023 14:00:38 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-14885=20fix:=20virtualgrouplist=20?= =?UTF-8?q?=E7=88=86=E6=A0=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/src/base/list/virtualgrouplist.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/fineui/src/base/list/virtualgrouplist.js b/packages/fineui/src/base/list/virtualgrouplist.js index bd7b24526..df033bbbc 100644 --- a/packages/fineui/src/base/list/virtualgrouplist.js +++ b/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; }, } ],