fix Button bug in 4.6.0
This commit is contained in:
parent
8f25ba65d2
commit
2ef37a9560
2 changed files with 4 additions and 1 deletions
|
@ -50,6 +50,7 @@ export default {
|
|||
const route = router.resolve(this.to, current, this.append);
|
||||
to = route ? route.href : this.to;
|
||||
}
|
||||
if (typeof this.to === 'string') return; // 会跳转两次
|
||||
window.open(to);
|
||||
},
|
||||
handleClick (new_window = false) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue