vue jsx 子组件预定义插槽

child.jsx

      <div>
          {this.$slots.footer}
      </div>
    )
    

 

posted @ 2021-08-09 14:46  浅笑19  阅读(102)  评论(0编辑  收藏  举报