We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39393e4 commit 27ced43Copy full SHA for 27ced43
src/util/location.js
@@ -26,7 +26,7 @@ export function normalizeLocation (
26
if (current.name) {
27
next.name = current.name
28
next.params = params
29
- } else if (current.matched) {
+ } else if (current.matched.length) {
30
const rawPath = current.matched[current.matched.length - 1].path
31
next.path = fillParams(rawPath, params, `path ${current.path}`)
32
} else if (process.env.NODE_ENV !== 'production') {
0 commit comments