This commit is contained in:
liuye
2024-07-01 14:56:51 +08:00
parent c37e2ad191
commit 669a358195

View File

@@ -199,9 +199,11 @@ export default {
uni.navigateTo({url: `./EvaluateForm?shopId=${this.shopId}`})
},
goBack() {
console.log(111, this.isShare)
if(this.isShare) {
uni.switchTab({url: '/pages/AppHome/AppHome'})
console.log(getCurrentPages().length)
if (getCurrentPages().length === 1) {
uni.switchTab({
url: "/pages/AppHome/AppHome",
})
}else {
uni.navigateBack()
}