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

Router has modified my params #2253

Closed
Sherlock-black opened this issue May 27, 2024 · 1 comment
Closed

Router has modified my params #2253

Sherlock-black opened this issue May 27, 2024 · 1 comment

Comments

@Sherlock-black
Copy link

Reproduction

?periodStartTime=2023-10-31T16:00:00.000+00:00&periodEndTime=2023-11-30T15:59:59.000+00:00

Steps to reproduce the bug

router.push('/xxx?periodStartTime=2023-10-31T16:00:00.000+00:00&periodEndTime=2023-11-30T15:59:59.000+00:00')

Expected behavior

Target page get this:
route.query // { periodStartTime: 2023-10-31T16:00:00.000+00:00, periodEndTime: 2023-11-30T15:59:59.000+00:00 }

Actual behavior

Target page get this:
route.query // { periodStartTime: 2023-10-31T16:00:00.000 00:00, periodEndTime: 2023-11-30T15:59:59.000 00:00 }

Additional information

but new Date('2023-10-31T16:00:00.000 00:00'); // Invalid Date
so i need origin queryParams

@posva
Copy link
Member

posva commented May 27, 2024

See #561

@posva posva closed this as not planned Won't fix, can't repro, duplicate, stale May 27, 2024
@vuejs vuejs locked and limited conversation to collaborators May 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants