From 69ff273246fcec4bc0f4c7dc4f82e58c350b6be5 Mon Sep 17 00:00:00 2001 From: eric Date: Sun, 20 Nov 2022 18:51:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=BF=94=E5=9B=9E=E4=B8=8A=E4=B8=80?= =?UTF-8?q?=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/home/components/CheckIn/index.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pages/home/components/CheckIn/index.tsx b/src/pages/home/components/CheckIn/index.tsx index 93329a4..7fe8ef5 100644 --- a/src/pages/home/components/CheckIn/index.tsx +++ b/src/pages/home/components/CheckIn/index.tsx @@ -154,9 +154,10 @@ const CheckIn = () => { }); setTimeout(() => { - // 返回首页 - Taro.navigateTo({ - url: "/pages/home/index", + // 返回首页 [上一页] + Taro.navigateBack({ + // url: "/pages/home/index", + delta: 1 }); }, 2000); });