Browse Source

fix: navigateBack 不可拦截,导致BUG

Burt 1 năm trước cách đây
mục cha
commit
75ad9af648
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      src/interceptors/route.ts

+ 0 - 1
src/interceptors/route.ts

@@ -49,7 +49,6 @@ export const routeInterceptor = {
     uni.addInterceptor('navigateTo', navigateToInterceptor)
     uni.addInterceptor('reLaunch', navigateToInterceptor)
     uni.addInterceptor('redirectTo', navigateToInterceptor)
-    uni.addInterceptor('navigateBack', navigateToInterceptor)
     uni.addInterceptor('switchTab', navigateToInterceptor)
   },
 }