项目原始demo,不改动
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 

21 lines
416 B

  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = rebuildFunctionalSlots;
  6. function rebuildFunctionalSlots(slots, h) {
  7. var children = [];
  8. for (var slot in slots) {
  9. if (slots.hasOwnProperty(slot)) {
  10. children.push(h('template', {
  11. slot: slot
  12. }, slots[slot]));
  13. }
  14. }
  15. return children;
  16. }
  17. //# sourceMappingURL=rebuildFunctionalSlots.js.map