From 8d30f3277cfda7d1e421200c867e176000692492 Mon Sep 17 00:00:00 2001 From: Matthew Pietz Date: Tue, 7 Jul 2020 12:13:18 -0700 Subject: [PATCH] fix: Adjust router.go to fire navigation guards --- src/history/abstract.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/history/abstract.js b/src/history/abstract.js index 1add43d01..ceb8cf9da 100644 --- a/src/history/abstract.js +++ b/src/history/abstract.js @@ -44,11 +44,10 @@ export class AbstractHistory extends History { return } const route = this.stack[targetIndex] - this.confirmTransition( - route, + this.transitionTo( + route.fullPath, () => { this.index = targetIndex - this.updateRoute(route) }, err => { if (isRouterError(err, NavigationFailureType.duplicated)) {