From 7bc9c5f7432a9533a0b552c40fb63fc07de5b5fe Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期一, 29 九月 2025 09:56:24 +0800
Subject: [PATCH] 优化

---
 h5/App.vue |   27 +++++++++++++--------------
 1 files changed, 13 insertions(+), 14 deletions(-)

diff --git a/h5/App.vue b/h5/App.vue
index 2fb62ad..6d141ba 100644
--- a/h5/App.vue
+++ b/h5/App.vue
@@ -6,20 +6,19 @@
 	} from '@/api'
 	export default {
 		onLaunch: function() {
-			window.addEventListener("popstate", (event) => {
-				const path = this.$route.fullPath
-				// console.log('path', path);
-				if (path == '/pages/login/login' || path == '/') {
-					window.location.href = app_url
-				}
-				if (path == '/pages/wdata/home') {
-					window.location.href = 'https://atwl.ahzyssl.com/zhyq_h5/#/pages/wdata/home'
-				}
-				if (path == '/pages/waybill/home') {
-					window.location.href = 'https://atwl.ahzyssl.com/zhyq_h5/#/pages/waybill/home'
-				}
-			})
-			uni.setStorageSync('transportList', [])
+			// window.addEventListener("popstate", (event) => {
+			// 	const path = this.$route.fullPath
+			// 	if (path == '/pages/login/login' || path == '/') {
+			// 		window.location.href = app_url
+			// 	}
+			// 	if (path == '/pages/wdata/home') {
+			// 		window.location.href = 'https://atwl.ahzyssl.com/zhyq_h5/#/pages/wdata/home'
+			// 	}
+			// 	if (path == '/pages/waybill/home') {
+			// 		window.location.href = 'https://atwl.ahzyssl.com/zhyq_h5/#/pages/waybill/home'
+			// 	}
+			// })
+			// uni.setStorageSync('transportList', [])
 			console.log('onLaunch')
 		},
 		onShow: function() {

--
Gitblit v1.9.3