Browse Source

KERNEL-16950 fix: ref

research/test
jian 1 year ago
parent
commit
4b443685e9
  1. 6
      packages/fineui/src/core/wrapper/layout/layout.table.js

6
packages/fineui/src/core/wrapper/layout/layout.table.js

@ -56,10 +56,10 @@ export class TableLayout extends Layout {
"grid-column-gap": this._optimiseGap(o.hgap),
});
}
return {
type: "bi.default",
ref(_ref) {
ref: (_ref) => {
this.layout = _ref;
},
items: this._formatItems(items),
@ -110,7 +110,7 @@ export class TableLayout extends Layout {
type: "bi.layout",
}), cls);
}
return first(wrapLayout(item), cls);
})), []);
}

Loading…
Cancel
Save