This commit is contained in:
梁灏 2018-06-21 10:22:11 +08:00
parent 5d10cf7224
commit 7d0b738455
5 changed files with 42 additions and 15 deletions

View file

@ -13,6 +13,16 @@ export default {
} else {
window.location.href = this.to;
}
},
handleCheckClick (event) {
if (this.to) {
if (this.target === '_blank') {
return false;
} else {
event.preventDefault();
this.handleClick();
}
}
}
}
};