jiangping
2025-03-07 a0285d19d00697757f99fc75a4e45778854f5af9
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')
  },