vuejs / router

🚦 The official router for Vue.js
https://router.vuejs.org/
MIT License
3.88k stars 1.18k forks source link

router.resolve doesn't include details of the query since 4.3.1 #2216

Closed charlesmass2 closed 5 months ago

charlesmass2 commented 5 months ago

Reproduction

https://github.com/charlesmass2/Repro-vue-router

Steps to reproduce the bug

  1. Clone the project
  2. npm i && npm run dev
  3. Click on "About"
  4. Click on "Set query param" => Nothing happens

Expected behavior

A query param should be set in the URL and a message should appear next to the button

If you do the same thing on version 4.3.0, the query param will be set properly. (edit package.json, then start again from step 2)

Actual behavior

No query param set. Can be tested with the unit test as well

Additional information

No response