<router-link to="/GoAbroad">
<button class="btn-card" @click="link1">刷卡登录</button>
methods: {link1 () {this.$router.push({ name: ‘Login‘ })},link2 () {this.$router.push({ name: ‘IdLogin‘ })}},
解决vue <router-link>在IE与火狐上点击失效(路由不跳转)问题
原文:https://www.cnblogs.com/knuzy/p/9842310.html