Vue.js 3.0 emit用法 export default { setup (props, context) { context.emit('created') } }. 其中context的结构如下 attrs: (...) emit: (...) slots: (...).
確定! 回上一頁