1
This commit is contained in:
@@ -100,19 +100,26 @@
|
||||
})
|
||||
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'
|
||||
})
|
||||
}
|
||||
uni.switchTab({
|
||||
url: '/pages/tabbar/home/home',
|
||||
fail: (err) => {
|
||||
console.log(err)
|
||||
}
|
||||
// url:'/BagStation/orderDetail/orderDetail'
|
||||
})
|
||||
// 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