Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RC5-9.2.1]routeName in Get.to is not work #3284

Closed
LiJiyaoisrunning opened this issue Dec 30, 2024 · 1 comment · Fixed by #3298
Closed

[RC5-9.2.1]routeName in Get.to is not work #3284

LiJiyaoisrunning opened this issue Dec 30, 2024 · 1 comment · Fixed by #3298

Comments

@LiJiyaoisrunning
Copy link

routeName = _cleanRouteName("/${page.runtimeType}");

this line just change the routeName arg we just pass in.
This makes the routeName parameter meaningless.
So just remove the parameter, or maybe modified it to previous method like 4.6.x

@jonataslaw
Copy link
Owner

Yeah, thank you, now I can see.
The code should be:

routeName = routeName ?? _cleanRouteName("/${page.runtimeType}");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants