From 568e38a95cb6fb20fe16b53d17f610aefc6f744f Mon Sep 17 00:00:00 2001
From: rk <94314517@qq.com>
Date: 星期四, 09 十月 2025 18:29:29 +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