<ul> <li v-for="( item, index ) in items"> <slot :item="item" ... 现在在父级作用域中,我们可以使用带值的 v-slot 来定义我们提供的插槽prop 的名字:.
確定! 回上一頁