defineProps is the way to declare your props in the script setup syntax ... const emit = defineEmits<{ (e: 'selected', value: number): void; } ...
確定! 回上一頁