fix(mobile): add fallback for building page back

This commit is contained in:
2026-07-09 17:18:14 +08:00
parent a9ed25108a
commit 505fbda8ee
@@ -23,7 +23,10 @@ onLoad((query) => {
});
const goBack = () => {
uni.navigateBack({ delta: 1 });
uni.navigateBack({
delta: 1,
fail: () => uni.switchTab({ url: '/pages/user/today/index' })
});
};
</script>