Browse Source

Merge branch '2025北京诚祥App' of https://gogs.mtavip.com/wangguoyu/uniProject into 2025北京诚祥App

tanxue 1 day ago
parent
commit
12a844da63
2 changed files with 2 additions and 12 deletions
  1. 1 6
      pages/admin/my/yhxy.vue
  2. 1 6
      pages/admin/my/yszc.vue

+ 1 - 6
pages/admin/my/yhxy.vue

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

+ 1 - 6
pages/admin/my/yszc.vue

@@ -178,12 +178,7 @@ const pageMap = {
 };
 };
 
 
 function goUpPage() {
 function goUpPage() {
-	const targetUrl = pageMap[fromPage.value];
-	if (targetUrl) {
-		uni.navigateTo({ url: targetUrl });
-	} else {
-		console.error('无效路由标识:', data);
-	}
+	uni.navigateBack()
 }
 }
 
 
 onLoad((options) => {
 onLoad((options) => {