diff --git a/packages/fineui/src/core/wrapper/layout/layout.table.js b/packages/fineui/src/core/wrapper/layout/layout.table.js index ec75bc8f0..b32f9b530 100644 --- a/packages/fineui/src/core/wrapper/layout/layout.table.js +++ b/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); })), []); }