|
@@ -112,9 +112,10 @@ const pageMap = {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
function goUpPage() {
|
|
function goUpPage() {
|
|
|
- const targetUrl = pageMap[fromPage.value];
|
|
|
|
|
|
|
+ // const targetUrl = pageMap[fromPage.value];
|
|
|
if (targetUrl) {
|
|
if (targetUrl) {
|
|
|
- uni.navigateTo({ url: targetUrl });
|
|
|
|
|
|
|
+ // uni.navigateTo({ url: targetUrl });
|
|
|
|
|
+ uni.navigateBack()
|
|
|
} else {
|
|
} else {
|
|
|
console.error('无效路由标识:', data);
|
|
console.error('无效路由标识:', data);
|
|
|
}
|
|
}
|