mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-20 07:30:57 +00:00
fix: router Expected "0" to be defined (#4394)
This commit is contained in:
parent
054fbbcf95
commit
22679cba66
@ -393,7 +393,7 @@ function tokensToFunction(tokens) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
var value = data[token.name]
|
var value = data[token.name || 'pathMatch']
|
||||||
var segment
|
var segment
|
||||||
|
|
||||||
if (value == null) {
|
if (value == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user