|
@@ -376,7 +376,9 @@ const getMatchEnroll = async (hash) =>{
|
|
|
icon: 'none',
|
|
|
duration: 1000
|
|
|
})
|
|
|
- getGameMatchList(false);
|
|
|
+ setTimeout(() => {
|
|
|
+ getGameMatchList(false);
|
|
|
+ }, 1500);
|
|
|
}else{
|
|
|
uni.hideLoading()
|
|
|
}
|
|
@@ -423,7 +425,7 @@ const awardFun = async (item) => {
|
|
|
if(item.is_receive) return;
|
|
|
let res = await userPrize({dapp_id:15,match_id:gameDetail.value?.id,address:walletAddress.value});
|
|
|
if (res.status == 200) {
|
|
|
- if(!res.data.prize_money){
|
|
|
+ if(!res.data.prize_money || res.data.prize_money == 0){
|
|
|
uni.showToast({
|
|
|
title: '正在结算中!',
|
|
|
icon: 'none',
|
|
@@ -449,7 +451,9 @@ const getClaimPrize = async (hash) =>{
|
|
|
icon: 'none',
|
|
|
duration: 1000
|
|
|
})
|
|
|
- getGameRank(gameDetail.value?.id)
|
|
|
+ setTimeout(() => {
|
|
|
+ getGameRank(gameDetail.value?.id)
|
|
|
+ }, 1500);
|
|
|
}
|
|
|
}
|
|
|
|