Compare commits

...

2 Commits

Author SHA1 Message Date
woody 8b1a9ef54f Merge branch 'test' of 47.94.45.65:angelo/web-africa-h5 into base-online 2025-09-01 09:11:10 +08:00
woody 22abef940b fix(main): rm location redirect 2025-09-01 09:10:40 +08:00
1 changed files with 3 additions and 3 deletions

View File

@ -80,9 +80,9 @@ app.$router.afterEach((to, from) => {
}
const u = navigator.userAgent.toLowerCase()
if (u.indexOf("like mac os x") < 0 || u.match(/MicroMessenger/i) != 'micromessenger') return
if (to.path !== global.location.pathname) {
location.assign(config.h5_addr + to.fullPath);
}
// if (to.path !== global.location.pathname) {
// location.assign(config.h5_addr + to.fullPath);
// }
})
//#endif