From b332c1d1a98acb58097d2a1f822b5eb0fd90333f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=B8=80=E5=98=89?= Date: Thu, 17 Jul 2025 17:59:38 +0800 Subject: [PATCH] update --- .../merchant/components/LookWithdrawalInformationModal.vue | 5 +++-- .../merchant/pages/my-wallet/components/WithdrawAgain.vue | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pages/merchant/components/LookWithdrawalInformationModal.vue b/src/pages/merchant/components/LookWithdrawalInformationModal.vue index fad41c0..240ae34 100644 --- a/src/pages/merchant/components/LookWithdrawalInformationModal.vue +++ b/src/pages/merchant/components/LookWithdrawalInformationModal.vue @@ -2,6 +2,7 @@ import {reactive, ref, watch} from "vue"; import Api from "../../../api/index.js"; import {Message} from "@arco-design/web-vue"; +import {debounce} from "lodash"; const visible = ref(false); const detail = reactive({}); @@ -33,7 +34,7 @@ watch( {deep: true} ) -const success = async () => { +const success = debounce(async () => { const {msg} = await Api.merchant.postWithdrawal({ id: id, type: 1, @@ -41,7 +42,7 @@ const success = async () => { }); Message.success(msg); emits('success'); -} +}, 500);