mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
revert(vue-app): "expect 0 to be defined"
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
This commit is contained in:
parent
07f70cf2ef
commit
912ef25fce
@ -459,7 +459,7 @@ function tokensToFunction(tokens) {
|
||||
continue
|
||||
}
|
||||
|
||||
const value = data[token.name]
|
||||
const value = data[token.name || 'pathMatch']
|
||||
let segment
|
||||
|
||||
if (value == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user