Browse Source

活动无权限返回bug

jwyu 3 years ago
parent
commit
cb0e877464
1 changed files with 5 additions and 1 deletions
  1. 5 1
      pages-activity/noAuthority.vue

+ 5 - 1
pages-activity/noAuthority.vue

@@ -91,7 +91,11 @@ export default {
         },
 
         handleBack(){
-            uni.navigateBack()
+            uni.navigateBack({
+                fail:()=>{
+                    uni.switchTab({ url: '/pages/activity/activity' })
+                }
+            })
         }
 
     }