如果您使用過較早的Vue.js 1.x 版本,肯定對dispatch 和broadcast 這兩個 ... $emit 會在當前組件實例上觸發自定義事件,並傳遞一些參數給監聽器的 ...
確定! 回上一頁