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(() => {
// 返回首页
Taro.navigateTo({
url: "/pages/home/index",
// 返回首页 [上一页]
Taro.navigateBack({
// url: "/pages/home/index",
delta: 1
});
}, 2000);
});