diff --git a/src/mixins/link.js b/src/mixins/link.js index 0e70fec1..0b016f79 100644 --- a/src/mixins/link.js +++ b/src/mixins/link.js @@ -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 {