mirror of https://github.com/ElemeFE/element
Menu: update routeToItem rejection (#9871)
parent
89509b5fe3
commit
7b89b68295
|
@ -244,8 +244,9 @@
|
|||
}
|
||||
|
||||
if (this.router) {
|
||||
this.routeToItem(item, () => {
|
||||
this.routeToItem(item, (error) => {
|
||||
this.activeIndex = oldActiveIndex;
|
||||
if (error) console.error(error);
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue