Browse Source

修改返回

tanxue 2 months ago
parent
commit
625b372ebd
1 changed files with 3 additions and 12 deletions
  1. 3 12
      pages/admin/tongzhi/list.vue

+ 3 - 12
pages/admin/tongzhi/list.vue

@@ -66,18 +66,9 @@
 		return data.split(' ')[0];
 		return data.split(' ')[0];
 	}
 	}
 	function goUpPage() {
 	function goUpPage() {
-
-		const pages = getCurrentPages();
-		if (pages.length > 1) {
-			uni.navigateBack()
-		} else {
-			/* uni.redirectTo({
-				url: '/pages/client/ShouYe/shouye'
-			})	 */
-			history.back();
-		}
-
-
+		uni.redirectTo({
+			url: '/pages/admin/ShouYe/shouye'
+		})	
 	}
 	}
 
 
 	function handleSearch() {
 	function handleSearch() {