Commit ad93e7a6fb6549165cf848af83dc9aa1f492fdf5
1 parent
61745887
Updated null to return the original URL as we already check for null before
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/mixins/link.js
@@ -36,7 +36,7 @@ export default { | @@ -36,7 +36,7 @@ export default { | ||
36 | if (router) { | 36 | if (router) { |
37 | const current = this.$route; | 37 | const current = this.$route; |
38 | const route = router.resolve(this.to, current, this.append); | 38 | const route = router.resolve(this.to, current, this.append); |
39 | - return route ? route.href : null; | 39 | + return route ? route.href : this.to; |
40 | } | 40 | } |
41 | return this.to; | 41 | return this.to; |
42 | } | 42 | } |