mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 15:53:26 +08:00
uniapp【优化】:优化首页领取优惠券的提示
This commit is contained in:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user