feat: update

This commit is contained in:
Rogee
2025-05-06 21:26:11 +08:00
parent 1f8f2b0e96
commit 1c75b50915

View File

@@ -75,7 +75,7 @@ const handleRefund = (id) => {
icon: 'pi pi-check', icon: 'pi pi-check',
size: 'small' size: 'small'
}, },
acceptClass: 'p-button-success', acceptClass: 'p-button-warn',
accept: () => { accept: () => {
refundOrder(id); refundOrder(id);
} }
@@ -222,8 +222,8 @@ onMounted(() => {
</Column> </Column>
<Column field="actions" header="操作"> <Column field="actions" header="操作">
<template #body="{ data }"> <template #body="{ data }">
<Button v-if="data.status === 7" icon="pi pi-replay" severity="danger" class="text-nowrap!" <Button v-if="data.status === 7" icon="pi pi-replay" severity="danger"
size="small" @click="handleRefund(data.id)" :loading="refunding"> class="text-nowrap! px-8!" size="small" @click="handleRefund(data.id)" :loading="refunding">
退款 退款
</Button> </Button>
</template> </template>