Commit 7b89b682 authored by dayu's avatar dayu Committed by 杨奕

Menu: update routeToItem rejection (#9871)

parent 89509b5f
...@@ -244,8 +244,9 @@ ...@@ -244,8 +244,9 @@
} }
if (this.router) { if (this.router) {
this.routeToItem(item, () => { this.routeToItem(item, (error) => {
this.activeIndex = oldActiveIndex; this.activeIndex = oldActiveIndex;
if (error) console.error(error);
}); });
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment