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

how to send query in children router , not working #3025

Closed
davedat opened this issue Nov 9, 2019 · 1 comment

Comments

@davedat
Copy link

@davedat davedat commented Nov 9, 2019

Version

3.1.3

Reproduction link

http://127.0.0.1:8080/#/user

Steps to reproduce

const routes = [
  {
    path: '/',
    name: 'home',
    component: Home,
    children: [
      { path: 'user', name:'user', component: User },
this.$router.push({ name:'user', query:{kw: "abc"} });

What is expected?

i want
http://127.0.0.1:8080/#/user?kw=abc

What is actually happening?

it go to
http://127.0.0.1:8080/#/user

@posva

This comment has been minimized.

Copy link
Member

@posva posva commented Nov 9, 2019

Please provide a reproduction when reporting a bug: https://jsfiddle.net/16zpdw79/

@posva posva closed this Nov 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.