yxuse 3.0.47 → 3.0.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.es6.js CHANGED
@@ -20533,6 +20533,11 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
20533
20533
  if (cell == null ? void 0 : cell.render) return cell == null ? void 0 : cell.render(scope.row);
20534
20534
  if (children && (children == null ? void 0 : children.length) > 0) return renderColumn(children);
20535
20535
  return (cell == null ? void 0 : cell.slotName) && columnSlots(cell, scope);
20536
+ },
20537
+ header: (scope) => {
20538
+ var _a2;
20539
+ if (cell == null ? void 0 : cell.headerRender) return cell == null ? void 0 : cell.headerRender(scope.row);
20540
+ if (cell == null ? void 0 : cell.headerSlotName) return (_a2 = slots[cell == null ? void 0 : cell.headerSlotName]) == null ? void 0 : _a2.call(slots, scope);
20536
20541
  }
20537
20542
  });
20538
20543
  });
Binary file