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: {
|
methods: {
|
||||||
handleClick () {
|
handleClick () {
|
||||||
const isRoute = this.$router;
|
const isRoute = this.$router;
|
||||||
let href = this.to || this.href;
|
const href = this.to || this.href;
|
||||||
if (isRoute) {
|
if (isRoute) {
|
||||||
this.replace ? this.$router.replace(href) : this.$router.push(href);
|
this.replace ? this.$router.replace(href) : this.$router.push(href);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue