<template>
  <a-button type="primary" @click="add">创建订单</a-button>
</template>

<script lang="ts" setup>
  const emit = defineEmits<{
    (e: 'add'): void;
  }>();

  const add = () => {
    emit('add');
  };
</script>
