解决 VUE 微信 IOS 路由跳转问题

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