使用方式很簡單,我們只要在自訂的子元件上使用上一章介紹過的 v-bind 指令 ... app.component('my-component', { props: { bookInfo: { type: Object } ...
確定! 回上一頁