<ul> <li v-for="( item, index ) in items"> <slot ... 現在,在父級作用域中,我們可以使用 v-slot 和一個值來定義所提供的插槽道具的名稱:
確定! 回上一頁