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)
}
})
ios微信浏览器内vue项目url不改变
最新推荐文章于 2024-09-08 12:25:45 发布