jiangping
2025-01-07 41d11d9db46ccd44163860f6be6bfd2137aff369
h5/App.vue
@@ -4,13 +4,16 @@
  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
         }
         // console.log('path', path);
         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'
         }
    })
      console.log('onLaunch')
  },