From 6c5165f73c90fbd4e22e4f9a39497b5a25ee37f9 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 26 十二月 2024 09:53:38 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
h5/App.vue | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/h5/App.vue b/h5/App.vue
index c567d31..a944dea 100644
--- a/h5/App.vue
+++ b/h5/App.vue
@@ -1,8 +1,14 @@
<script>
-import { wxAuthorize, refreshToken } from '@/api'
+import { wxAuthorize, refreshToken, app_url } from '@/api'
export default {
onLaunch: function () {
-
+ window.addEventListener("popstate", (event) => {
+ const path = this.$route.fullPath
+ if(path == '/pages/login/login' || path == '/'){
+ window.location.href = app_url
+ }
+ })
+ console.log('onLaunch')
},
onShow: function () {
console.log('App Show')
@@ -140,6 +146,9 @@
color: #999999 !important;
font-size: 28rpx;
}
+.placeholder3{
+ color: #333333 !important;
+}
.red{
color: red !important;
}
--
Gitblit v1.9.3