xiugai
This commit is contained in:
@@ -68,7 +68,25 @@
|
||||
adUnitId: 'adunit-a7faf57adeed211f'
|
||||
})
|
||||
}
|
||||
interstitialAd.onLoad((err) => {
|
||||
console.log('onLoad event emit', err)
|
||||
})
|
||||
interstitialAd.onError((err) => {
|
||||
setTimeout(() => {
|
||||
if (key == '在线') {
|
||||
uni.switchTab({
|
||||
url: '/pages/tabbar/home/home',
|
||||
fail: (err) => {
|
||||
console.log(err)
|
||||
}
|
||||
// url:'/BagStation/orderDetail/orderDetail'
|
||||
})
|
||||
} else {
|
||||
uni.redirectTo({
|
||||
url: '/BagAuth/pages/login/login'
|
||||
})
|
||||
}
|
||||
}, 2000)
|
||||
console.log('onError event emit', err)
|
||||
})
|
||||
// 在适合的场景显示插屏广告
|
||||
|
||||
Reference in New Issue
Block a user