Updated null to return the original URL as we already check for null before
This commit is contained in:
parent
617458873f
commit
ad93e7a6fb
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ export default {
|
||||||
if (router) {
|
if (router) {
|
||||||
const current = this.$route;
|
const current = this.$route;
|
||||||
const route = router.resolve(this.to, current, this.append);
|
const route = router.resolve(this.to, current, this.append);
|
||||||
return route ? route.href : null;
|
return route ? route.href : this.to;
|
||||||
}
|
}
|
||||||
return this.to;
|
return this.to;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue