Commit 2c68755aa523e9af0cdc516bcd31da8fbb95a18d
1 parent
576329cc
update
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/mixins/link.js
... | ... | @@ -26,7 +26,7 @@ export default { |
26 | 26 | methods: { |
27 | 27 | handleClick () { |
28 | 28 | const isRoute = this.$router; |
29 | - let href = this.to || this.href; | |
29 | + const href = this.to || this.href; | |
30 | 30 | if (isRoute) { |
31 | 31 | this.replace ? this.$router.replace(href) : this.$router.push(href); |
32 | 32 | } else { | ... | ... |