code: function resolveNodeSlots (
    children,
    context
  ) {
    const slots = {}
  
    const defaultSlot = []
    for (let i = 0, l = children.length; i < l; i++) {
      const child = children[i]
      const name = child.getAttribute && child.getAttribute('slot')
  
      if (name) {
        const slot = (slots[name] || (slots[name] = []))
        if (child.tagName === 'TEMPLATE') {
          slot.push.apply(slot, child.content.childNodes)
        } else {
          slot.push(child)
        }
        child.removeAttribute('slot')
      } else {
        defaultSlot.push(child)
      }
    }
  
    slots.default = defaultSlot
  
    return slots
  }
docs: mip patch: 支持传入 Node 节点