File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ export class AbstractHistory extends History {
1414 }
1515
1616 push ( location : RawLocation ) {
17- super . transitionTo ( location , route => {
17+ this . transitionTo ( location , route => {
1818 this . stack = this . stack . slice ( 0 , this . index + 1 ) . concat ( route )
1919 this . index ++
2020 } )
2121 }
2222
2323 replace ( location : RawLocation ) {
24- super . transitionTo ( location , route => {
24+ this . transitionTo ( location , route => {
2525 this . stack = this . stack . slice ( 0 , this . index ) . concat ( route )
2626 } )
2727 }
Original file line number Diff line number Diff line change @@ -42,13 +42,13 @@ export class HashHistory extends History {
4242 }
4343
4444 push ( location : RawLocation ) {
45- super . transitionTo ( location , route => {
45+ this . transitionTo ( location , route => {
4646 pushHash ( route . fullPath )
4747 } )
4848 }
4949
5050 replace ( location : RawLocation ) {
51- super . transitionTo ( location , route => {
51+ this . transitionTo ( location , route => {
5252 replaceHash ( route . fullPath )
5353 } )
5454 }
You can’t perform that action at this time.
0 commit comments