mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-17 14:11:07 +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
|
||||
}
|
||||
|
||||
var value = data[token.name]
|
||||
var value = data[token.name || 'pathMatch']
|
||||
var segment
|
||||
|
||||
if (value == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user