watch: { "$route"(){ if (/iPhone|mac|iPod|iPad/i.test(navigator.userAgent)) { location.href = 'localhost:8081/mob/#' + this.$route.path } }, },
本文共 224 字,大约阅读时间需要 1 分钟。
watch: { "$route"(){ if (/iPhone|mac|iPod|iPad/i.test(navigator.userAgent)) { location.href = 'localhost:8081/mob/#' + this.$route.path } }, },
转载于:https://www.cnblogs.com/taoquns/p/9713846.html