提现看广告优化
This commit is contained in:
parent
f92a3bbdf6
commit
1704cd2e7c
|
|
@ -2,7 +2,7 @@
|
|||
"version" : "1.0",
|
||||
"configurations" : [
|
||||
{
|
||||
"playground" : "standard",
|
||||
"playground" : "custom",
|
||||
"type" : "uni-app:app-android"
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -185,7 +185,6 @@
|
|||
function ruleConfirm() {
|
||||
data.ruleShow = false
|
||||
data.ruleIndex++
|
||||
console.log(data.ruleIndex >= data.ruleList.length)
|
||||
if( data.ruleIndex >= data.ruleList.length) {
|
||||
data.ruleIndex = 0
|
||||
return
|
||||
|
|
@ -209,7 +208,7 @@
|
|||
*/
|
||||
async function getCanCash() {
|
||||
canCash().then(res => {
|
||||
data.isWithdraw = !res;
|
||||
data.isWithdraw = res;
|
||||
if( uni.getStorageSync('adRewardedNum') >= 3 ){
|
||||
data.isWithdraw = true;
|
||||
// uni.setStorageSync('adRewardedNum',0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue