jiangping
2024-12-17 c52a775aeb3386dfab1ac78ac3430ff86934220a
h5/App.vue
@@ -1,8 +1,13 @@
<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
         }
    })
  },
  onShow: function () {
    console.log('App Show')
@@ -140,6 +145,9 @@
  color: #999999 !important;
  font-size: 28rpx;
}
.placeholder3{
   color: #333333 !important;
}
.red{
   color: red !important;
}