Skip to content

Commit 01889c0

Browse files
committed
make query a normal object (fix #873)
1 parent 14af144 commit 01889c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/query.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function resolveQuery (
2727
}
2828

2929
function parseQuery (query: string): Dictionary<string> {
30-
const res = Object.create(null)
30+
const res = {}
3131

3232
query = query.trim().replace(/^(\?|#|&)/, '')
3333

0 commit comments

Comments
 (0)