diff --git a/src/views/audit/bean/beanAudit.vue b/src/views/audit/bean/beanAudit.vue index 0cc8dbc..82e71c6 100644 --- a/src/views/audit/bean/beanAudit.vue +++ b/src/views/audit/bean/beanAudit.vue @@ -134,7 +134,7 @@ diff --git a/src/views/audit/gold/rechargeAudit.vue b/src/views/audit/gold/rechargeAudit.vue index 1b8dafe..d189446 100644 --- a/src/views/audit/gold/rechargeAudit.vue +++ b/src/views/audit/gold/rechargeAudit.vue @@ -192,7 +192,7 @@ @@ -643,6 +643,13 @@ const handleApproveConfirm = async () => { clicked.value = false } } + +import _ from 'lodash'; + +// handleApproveConfirm +const throttledHandleApproveConfirm = _.throttle(handleApproveConfirm, 5000, { + trailing: false +}) // 处理通过取消操作 const handleApproveCancel = () => { approveDialogVisible.value = false diff --git a/src/views/audit/gold/refundAudit.vue b/src/views/audit/gold/refundAudit.vue index b415a19..a234ef7 100644 --- a/src/views/audit/gold/refundAudit.vue +++ b/src/views/audit/gold/refundAudit.vue @@ -178,7 +178,7 @@ @cancel="handleRejectCancel" @close="handleRejectClose" /> - @@ -407,6 +407,13 @@ const handleApproveConfirm = async () => { ElMessage.error(t('elmessage.operationFailed')) } } +import _ from 'lodash'; + +// handleApproveConfirm +const throttledHandleApproveConfirm = _.throttle(handleApproveConfirm, 5000, { + trailing: false +}) + // 处理通过取消操作 const handleApproveCancel = () => { approveDialogVisible.value = false