From 2c68755aa523e9af0cdc516bcd31da8fbb95a18d Mon Sep 17 00:00:00 2001 From: "zhigang.li" Date: Fri, 29 Jun 2018 18:12:37 +0800 Subject: [PATCH] update --- src/mixins/link.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {