mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 17:33:27 +08:00
Merge branch 'dev' into 'master'
uniapp【优化】:优化首页领取优惠券的提示 See merge request jianweie/coreshoppro!118
This commit is contained in:
@@ -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();
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user