router.afterEach((to, from) => {
  const u = navigator.userAgent.toLowerCase()
  if(u.indexOf("like mac os x") < 0 || u.match(/MicroMessenger/i) != 'micromessenger' || u.match(/WebP/i) == "webp") return
  if (to.path !== global.location.pathname) {
    location.assign(to.fullPath)
  }
})

  

相关文章:

  • 2021-11-19
  • 2021-08-13
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
  • 2021-06-14
  • 2021-05-20
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-17
  • 2022-12-23
  • 2021-07-30
  • 2021-12-09
相关资源
相似解决方案