摘要: slot插值语法 使用默认插槽语法: 我们在子组件内容不确定的地方使用插值语法(slot) <template> <div> 我是子组件 <br> <!-- 不确定的地方使用插值语法--> <slot></slot> </div> </template> <script> export defaul 阅读全文
posted @ 2023-01-08 18:40 帅气丶汪星人 阅读(604) 评论(0) 推荐(0)