update
This commit is contained in:
parent
576329cc63
commit
2c68755aa5
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue