watch: {
    "$route"(){
        if (/iPhone|mac|iPod|iPad/i.test(navigator.userAgent)) {
          location.href = 'localhost:8081/mob/#' + this.$route.path
        }
    },
  },

相关文章: