Browse Source

KERNEL-16950 fix: ref

research/test
jian 11 months 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), "grid-column-gap": this._optimiseGap(o.hgap),
}); });
} }
return { return {
type: "bi.default", type: "bi.default",
ref(_ref) { ref: (_ref) => {
this.layout = _ref; this.layout = _ref;
}, },
items: this._formatItems(items), items: this._formatItems(items),
@ -110,7 +110,7 @@ export class TableLayout extends Layout {
type: "bi.layout", type: "bi.layout",
}), cls); }), cls);
} }
return first(wrapLayout(item), cls); return first(wrapLayout(item), cls);
})), []); })), []);
} }

Loading…
Cancel
Save