Merge branch 'dev' into 'master'

uniapp【优化】:优化首页领取优惠券的提示

See merge request jianweie/coreshoppro!118
This commit is contained in:
花城
2025-02-13 02:43:01 +00:00

View File

@@ -66,9 +66,10 @@ export const receiveCoupon = async (id : string | number) => {
const receiveCoupon = await queryReceiveCoupon({ id, }); const receiveCoupon = await queryReceiveCoupon({ id, });
if (receiveCoupon.status) { if (receiveCoupon.status) {
uni.hideLoading();
handleShowToast(receiveCoupon.msg, 'success') handleShowToast(receiveCoupon.msg, 'success')
} else { } else {
uni.hideLoading();
handleShowToast(receiveCoupon.msg) handleShowToast(receiveCoupon.msg)
} }
uni.hideLoading();
} }