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