Skip to content

Undefined value in router query now become undefined string #3276

Closed
@lephuongbg

Description

@lephuongbg

Version

3.4.0

Reproduction link

https://jsfiddle.net/herophuong/97bq4vmh/

Steps to reproduce

  1. Call $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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions