使用router路由跳转时,为 this.$router.push('/register') 使用a链接时,为 href=“/register” 结果跳转到了其他界面 经过百度发现应该使用href=“/#/register” 。