Browse Source

Merge pull request #250681 in DEC/fineui from master to feature/x

* commit '5dcf550332ed7f70d42b332c88b967aaef0cbc32':
  无jira fix:VirtualGroup
master
superman 1 year ago
parent
commit
ced49ba556
  1. 6
      packages/fineui/src/base/combination/group.virtual.js

6
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;
}
},
},

Loading…
Cancel
Save