diff --git a/src/views/pay/refund/RefundModal.vue b/src/views/pay/refund/RefundModal.vue index 87e6f0a4..b5dfbbd9 100644 --- a/src/views/pay/refund/RefundModal.vue +++ b/src/views/pay/refund/RefundModal.vue @@ -1,5 +1,5 @@ @@ -10,19 +10,11 @@ import { Description } from '@/components/Description' import { descSchema } from './refund.data' import { getRefund } from '@/api/pay/refund' -const emit = defineEmits(['success', 'register']) - const refundData = ref() -const [registerModal, { setModalProps, closeModal }] = useModalInner(async (data) => { +const [registerModal, { setModalProps }] = useModalInner(async (data) => { setModalProps({ confirmLoading: false }) const res = await getRefund(data.record.id) refundData.value = res }) - -async function handleSubmit() { - closeModal() - emit('success') - setModalProps({ confirmLoading: false }) -} diff --git a/src/views/pay/refund/index.vue b/src/views/pay/refund/index.vue index 4be0723c..91bd3695 100644 --- a/src/views/pay/refund/index.vue +++ b/src/views/pay/refund/index.vue @@ -16,7 +16,7 @@ - +