From 9ed897aa853338b01118037be5bbb4bd8576d561 Mon Sep 17 00:00:00 2001 From: Yer <17633066053@163.com> Date: Tue, 25 Jul 2023 10:47:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=99=BB=E5=BD=95=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/Foundation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }); } }