细节完善
This commit is contained in:
@@ -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,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user