This commit is contained in:
zhigang.li 2018-06-29 18:12:37 +08:00
parent 576329cc63
commit 2c68755aa5

View file

@ -26,7 +26,7 @@ export default {
methods: {
handleClick () {
const isRoute = this.$router;
let href = this.to || this.href;
const href = this.to || this.href;
if (isRoute) {
this.replace ? this.$router.replace(href) : this.$router.push(href);
} else {