From f499ba80cdeeb93cce32f3318503d34ac9ec1ffa Mon Sep 17 00:00:00 2001 From: hackrobot Date: Wed, 2 Apr 2025 21:03:06 -0500 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=BF=94=E5=9B=9E=E4=B8=BB=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/book/index.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/pages/book/index.tsx b/src/pages/book/index.tsx index d848abe..79e7a97 100644 --- a/src/pages/book/index.tsx +++ b/src/pages/book/index.tsx @@ -147,9 +147,12 @@ const Book = () => { { - Taro.navigateBack({ - delta: 1, // 表示返回的页面数,默认是 1,表示返回上一页 - }); + Taro.redirectTo({ + url: `/` + }) + // Taro.navigateBack({ + // delta: 1, // 表示返回的页面数,默认是 1,表示返回上一页 + // }); }} >