refactor(custom): 暂时取消游戏进入限制
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-11-19 04:32:05 +08:00
parent 52e49cca6c
commit 90f1764e7b

View File

@@ -33,11 +33,11 @@ const startGame = () => {
}); });
} else { } else {
const user = Taro.getStorageSync('userInfo'); const user = Taro.getStorageSync('userInfo');
if (user.data.pulse <= 0) // if (user.data.pulse <= 0)
return Taro.showToast({ // return Taro.showToast({
title: '您的豆子不足,无法进入游戏', // title: '您的豆子不足,无法进入游戏',
icon: 'none', // icon: 'none',
}); // });
Taro.setStorageSync( Taro.setStorageSync(
'game_url', 'game_url',
`${info.value.url}?uid=${Taro.getStorageSync('token')}&id=${ `${info.value.url}?uid=${Taro.getStorageSync('token')}&id=${