zhengyiming
2025-03-25 e1ad299bfdf0ec29e07c19b12705e9fc18c1a9aa
packages/components/src/components/Card/OrderCard.vue
@@ -15,7 +15,7 @@
          <div
            class="order-card-action"
            v-if="status === LifeRechargeConstants.LifePayOrderFrontStatusEnum.支付成功"
            @click="emit('goApplyRefund', orderNo)"
            @click="emit('goApplyRefund', id)"
          >
            申请退款
          </div>
@@ -44,14 +44,15 @@
type Props = {
  title: string;
  status: LifeRechargeConstants.LifePayOrderFrontStatusEnum;
  status?: LifeRechargeConstants.LifePayOrderFrontStatusEnum;
  orderNo: string;
  id: string;
};
const props = withDefaults(defineProps<Props>(), {});
const emit = defineEmits<{
  (e: 'goApplyRefund', orderNo: string): void;
  (e: 'goApplyRefund', id: string): void;
  (e: 'goRefundDetail', orderNo: string): void;
}>();
</script>