Skip to content

Commit 8d30f32

Browse files
committed
fix: Adjust router.go to fire navigation guards
1 parent b0ef497 commit 8d30f32

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/history/abstract.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@ export class AbstractHistory extends History {
4444
return
4545
}
4646
const route = this.stack[targetIndex]
47-
this.confirmTransition(
48-
route,
47+
this.transitionTo(
48+
route.fullPath,
4949
() => {
5050
this.index = targetIndex
51-
this.updateRoute(route)
5251
},
5352
err => {
5453
if (isRouterError(err, NavigationFailureType.duplicated)) {

0 commit comments

Comments
 (0)