Skip to content

Commit fb9aabe

Browse files
committed
fix(reactant-share): fix repalce issue
1 parent b3f6e16 commit fb9aabe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/reactant-share/src/modules/router.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ class ReactantRouter extends BaseReactantRouter {
598598
targetRouter.location.pathname,
599599
targetRouter.location.state,
600600
],
601-
action: 'replace',
601+
action: 'push',
602602
name: this.portDetector.name,
603603
},
604604
]
@@ -642,7 +642,7 @@ class ReactantRouter extends BaseReactantRouter {
642642
previousRouter.location.pathname,
643643
previousRouter.location.state,
644644
],
645-
action: 'replace',
645+
action: 'push',
646646
name: this.portDetector.name,
647647
},
648648
]
@@ -674,7 +674,7 @@ class ReactantRouter extends BaseReactantRouter {
674674
[
675675
{
676676
args: [nextRouter.location.pathname, nextRouter.location.state],
677-
action: 'replace',
677+
action: 'push',
678678
name: this.portDetector.name,
679679
},
680680
]

0 commit comments

Comments
 (0)