From 4fafd7bc5d492539cc3fe6b60e9905407e441d87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E5=9F=8E?= <141405260+17521612761@users.noreply.github.com> Date: Thu, 13 Feb 2025 10:42:37 +0800 Subject: [PATCH] =?UTF-8?q?uniapp=E3=80=90=E4=BC=98=E5=8C=96=E3=80=91?= =?UTF-8?q?=EF=BC=9A=E4=BC=98=E5=8C=96=E9=A6=96=E9=A1=B5=E9=A2=86=E5=8F=96?= =?UTF-8?q?=E4=BC=98=E6=83=A0=E5=88=B8=E7=9A=84=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CoreShop/core/utils/handle-advertise-detail.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CoreCms.Net.Uni-App/CoreShop/core/utils/handle-advertise-detail.ts b/CoreCms.Net.Uni-App/CoreShop/core/utils/handle-advertise-detail.ts index 0c898e5a..3e5e90c5 100644 --- a/CoreCms.Net.Uni-App/CoreShop/core/utils/handle-advertise-detail.ts +++ b/CoreCms.Net.Uni-App/CoreShop/core/utils/handle-advertise-detail.ts @@ -66,9 +66,10 @@ export const receiveCoupon = async (id : string | number) => { const receiveCoupon = await queryReceiveCoupon({ id, }); if (receiveCoupon.status) { + uni.hideLoading(); handleShowToast(receiveCoupon.msg, 'success') } else { + uni.hideLoading(); handleShowToast(receiveCoupon.msg) } - uni.hideLoading(); } \ No newline at end of file