diff --git a/packages/fineui/src/base/combination/group.virtual.js b/packages/fineui/src/base/combination/group.virtual.js index 5b7cd7e32..b7e8ce938 100644 --- a/packages/fineui/src/base/combination/group.virtual.js +++ b/packages/fineui/src/base/combination/group.virtual.js @@ -56,7 +56,7 @@ export class VirtualGroup extends Widget { _packageBtns(items) { const o = this.options; - const map = (this.buttonMap = {}); + const btMap = (this.buttonMap = {}); const layouts = isArray(o.layouts) ? o.layouts : [o.layouts]; for (let i = layouts.length - 1; i > 0; i--) { items = map(items, (k, it) => { @@ -68,8 +68,8 @@ export class VirtualGroup extends Widget { el: extend( { ref: _ref => { - if (isKey(map[el.value])) { - map[el.value] = _ref; + if (isKey(btMap[el.value])) { + btMap[el.value] = _ref; } }, },