在组合 API 中:
<script setup> const $emit = defineEmits(['refreshList']); //later in code $emit('refreshList'); </script>