|
@@ -489,7 +489,6 @@ const getClaimPrize = async (hash) =>{
|
|
|
receive_hash:hash
|
|
|
});
|
|
|
if (res.status == 200) {
|
|
|
- uni.hideLoading();
|
|
|
uni.showToast({
|
|
|
title: '领取成功',
|
|
|
icon: 'none',
|
|
@@ -497,7 +496,7 @@ const getClaimPrize = async (hash) =>{
|
|
|
})
|
|
|
setTimeout(() => {
|
|
|
getGameRank(gameDetail.value?.id)
|
|
|
- }, 1500);
|
|
|
+ }, 800);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -511,7 +510,6 @@ const getsendSingleReward = async (prize_money) =>{
|
|
|
if (result.status === "success") {
|
|
|
await getClaimPrize(result.hash);
|
|
|
}else{
|
|
|
- uni.hideLoading();
|
|
|
uni.showToast({
|
|
|
title: result.message || "领取失败",
|
|
|
icon: 'none',
|
|
@@ -519,7 +517,6 @@ const getsendSingleReward = async (prize_money) =>{
|
|
|
});
|
|
|
}
|
|
|
} catch (error) {
|
|
|
- uni.hideLoading();
|
|
|
uni.showToast({
|
|
|
title: error.message || "领取失败",
|
|
|
icon: 'none',
|