Skip to content

Commit 39675eb

Browse files
authored
Update pushWithQuery example function (#1619)
The `pushWithQuery` function accepts a `query` argument that was not used. I updated the docs to how I assume the function was mean to be set up.
1 parent 950681a commit 39675eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/docs/guide/advanced/composition-api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export default {
2424
name: 'search',
2525
query: {
2626
...route.query,
27+
...query,
2728
},
2829
})
2930
}

0 commit comments

Comments
 (0)