tanxue 2 mesi fa
parent
commit
625b372ebd
1 ha cambiato i file con 3 aggiunte e 12 eliminazioni
  1. 3 12
      pages/admin/tongzhi/list.vue

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

@@ -66,18 +66,9 @@
 		return data.split(' ')[0];
 	}
 	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() {