Example: vue 3 emits. <template> <div> <p>{{ text }}</p> <button v-on:click="$emit('accepted')">OK</button> </div> </template> <script> export default ...
確定! 回上一頁