File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ export default class VueRouter {
122122 this . beforeHooks . push ( fn )
123123 }
124124
125- onResolve ( fn : Function ) {
125+ beforeResolve ( fn : Function ) {
126126 this . resolveHooks . push ( fn )
127127 }
128128
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ declare class VueRouter {
2121 currentRoute : Route ;
2222
2323 beforeEach ( guard : NavigationGuard ) : void ;
24- onResolve ( guard : NavigationGuard ) : void ;
24+ beforeResolve ( guard : NavigationGuard ) : void ;
2525 afterEach ( hook : ( to : Route , from : Route ) => any ) : void ;
2626 push ( location : RawLocation , onComplete ?: Function , onAbort ?: Function ) : void ;
2727 replace ( location : RawLocation , onComplete ?: Function , onAbort ?: Function ) : void ;
You can’t perform that action at this time.
0 commit comments