From 697bc5bb239817a7d9a277f40e2ba356dbb0a7ef Mon Sep 17 00:00:00 2001 From: guy Date: Mon, 20 Nov 2023 09:57:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20custom=5Ftree?= =?UTF-8?q?=E6=94=AF=E6=8C=81hasNext?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/src/base/list/virtualgrouplist.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/fineui/src/base/list/virtualgrouplist.js b/packages/fineui/src/base/list/virtualgrouplist.js index 40bbaf9a5..e2e0d5ddf 100644 --- a/packages/fineui/src/base/list/virtualgrouplist.js +++ b/packages/fineui/src/base/list/virtualgrouplist.js @@ -1,4 +1,4 @@ -import { VerticalLayout, Layout, Widget, shortcut, extend, isFunction, isNumber, PrefixIntervalTree, ResizeDetector } from "@/core"; +import { VerticalLayout, Layout, Widget, shortcut, extend, isFunction, isNumber, sum, PrefixIntervalTree, ResizeDetector } from "@/core"; import { VirtualGroup } from "../combination"; /** @@ -201,7 +201,7 @@ export class VirtualGroupList extends Widget { const o = this.options; this.renderedIndex = -1; if (isFunction(o.rowHeight)) { - this.summaryHeight = BI.sum(o.items, o.rowHeight); + this.summaryHeight = sum(o.items, o.rowHeight); } else { this.summaryHeight = this._isAutoHeight() ? 0 : o.rowHeight * o.items.length; }