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