摘要: 不具名插槽 子组件: <template> <div> <!--定义不具名插槽 --> <slot></slot> <h3>这里是不具名插槽组件</h3> </div> </template> <script> export default { data() { return {} }, creat 阅读全文
posted @ 2020-08-06 10:00 $--$ 阅读(1091) 评论(0) 推荐(0)