diff --git a/utils/Foundation.js b/utils/Foundation.js index 51c3318..3ffc0d2 100644 --- a/utils/Foundation.js +++ b/utils/Foundation.js @@ -91,7 +91,7 @@ export function whetherNavigate(type = "default") { navigationToBack(type); } else { uni.navigateBack({ - delta: getCurrentPages().length, + delta: getCurrentPages().length-1, }); } }