We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.4.0
https://jsfiddle.net/herophuong/97bq4vmh/
$router.push({path: '/', query: {q: undefined}})
URL should be /
/
URL is now /?q=undefined
/?q=undefined
Possibly due to fixing this issue: #2131
The text was updated successfully, but these errors were encountered:
b952573
This problem is introduced from 3.0.3 https://github.com/vuejs/vue-router/releases/tag/v3.0.3
undefined should be ignored
Sorry, something went wrong.
FYI this has been fixed and released. Undefined query Params are removed from the string representation
No branches or pull requests
Version
3.4.0
Reproduction link
https://jsfiddle.net/herophuong/97bq4vmh/
Steps to reproduce
$router.push({path: '/', query: {q: undefined}})
What is expected?
URL should be
/
What is actually happening?
URL is now
/?q=undefined
Possibly due to fixing this issue: #2131
The text was updated successfully, but these errors were encountered: