Revert "Revert "fix(router): fix a problem with router not responding to back button (#30160)" (#30320)" (#30344)
This reverts commit 8ced321bb6
.
PR Close #30344
This commit is contained in:
parent
0fd9d086e4
commit
79d4b16f8a
|
@ -556,6 +556,7 @@ export class Router {
|
||||||
* way the next navigation will be coming from the current URL in the browser.
|
* way the next navigation will be coming from the current URL in the browser.
|
||||||
*/
|
*/
|
||||||
this.rawUrlTree = t.rawUrl;
|
this.rawUrlTree = t.rawUrl;
|
||||||
|
this.browserUrlTree = t.urlAfterRedirects;
|
||||||
t.resolve(null);
|
t.resolve(null);
|
||||||
return EMPTY;
|
return EMPTY;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue