细节完善

This commit is contained in:
kron
2025-09-27 10:09:02 +08:00
parent f8bc5d094e
commit b75ab93af9
8 changed files with 124 additions and 63 deletions

View File

@@ -34,8 +34,10 @@ const onSelect = (index) => {
};
const goBack = () => {
const pages = getCurrentPages();
const currentPage = pages[pages.length - 2];
uni.navigateBack({
delta: 2,
delta: currentPage.route === "pages/point-book" ? 1 : 2,
});
};