在Vue 3中,我们有2种不同的方法来做到这一点: 选项API - this.$emit; 带有setup()的组合API - context.emit; 带有<script setup> ...
確定! 回上一頁