This commit is contained in:
liuye
2023-08-17 15:38:21 +08:00
parent 2bc9fd2121
commit e61437d5eb
2 changed files with 55 additions and 141 deletions

View File

@@ -36,10 +36,9 @@ export default {
this.current = e.detail.current;
if(this.current == 2) {
setTimeout(() => {
// uni.switchTab({
// url: '/pages/AppHome/AppHome'
// })
console.log(123)
uni.switchTab({
url: '/pages/AppHome/AppHome'
})
}, 2000)
}
},
@@ -52,12 +51,12 @@ export default {
url: '/pages/AppHome/AppHome'
})
} else {
this.getList()
setTimeout(() => {
uni.switchTab({
url: '/pages/AppHome/AppHome'
})
}, 3000)
// this.getList()
// setTimeout(() => {
// uni.switchTab({
// url: '/pages/AppHome/AppHome'
// })
// }, 3000)
}
}
})
@@ -79,7 +78,7 @@ export default {
}
},
onShow() {
// this.getStatus()
this.getStatus()
},
}
</script>