feat: 返回上一页

This commit is contained in:
eric
2022-11-20 18:51:47 +08:00
parent bdfa60e264
commit 69ff273246

View File

@@ -154,9 +154,10 @@ const CheckIn = () => {
}); });
setTimeout(() => { setTimeout(() => {
// 返回首页 // 返回首页 [上一页]
Taro.navigateTo({ Taro.navigateBack({
url: "/pages/home/index", // url: "/pages/home/index",
delta: 1
}); });
}, 2000); }, 2000);
}); });