diff --git a/src/pages/merchant/merchant-activity.vue b/src/pages/merchant/merchant-activity.vue index 79fd197..38d1963 100644 --- a/src/pages/merchant/merchant-activity.vue +++ b/src/pages/merchant/merchant-activity.vue @@ -12,7 +12,7 @@ 已 核 销 @@ -68,7 +68,8 @@ const getCouponInfo = async () => { // 领取兑换券 const doGetCoupon = async () => { try { - uni.showLoading({ title: "正在领取..." }) + uni.showLoading({ title: "正在领取...", mask: true }) + await new Promise((resolve) => setTimeout(resolve, 2_000)) const { code, msg }: any = await actCancel.appGet({ receiverUserId: uni.getStorageSync("user_info")?.sysUser?.userId }) if (code != 0) return uni.showToast({ title: msg || "领取失败", icon: "none", mask: true }) uni.showToast({ title: "领取成功", icon: "success" })