Commit 2c68755aa523e9af0cdc516bcd31da8fbb95a18d

Authored by zhigang.li
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,7 +26,7 @@ export default {
26 methods: { 26 methods: {
27 handleClick () { 27 handleClick () {
28 const isRoute = this.$router; 28 const isRoute = this.$router;
29 - let href = this.to || this.href; 29 + const href = this.to || this.href;
30 if (isRoute) { 30 if (isRoute) {
31 this.replace ? this.$router.replace(href) : this.$router.push(href); 31 this.replace ? this.$router.replace(href) : this.$router.push(href);
32 } else { 32 } else {