Compare commits
No commits in common. "8b1a9ef54faf1b58b2f5b40d84a8bbfaf75f7dd9" and "d5d481b39a74d4d1b01c57044502b1ac91ca3fec" have entirely different histories.
8b1a9ef54f
...
d5d481b39a
6
main.js
6
main.js
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue