revert(vue-app): "expect 0 to be defined"

Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
This commit is contained in:
pooya parsa 2019-04-23 00:38:27 +04:30
parent 07f70cf2ef
commit 912ef25fce

View File

@ -459,7 +459,7 @@ function tokensToFunction(tokens) {
continue
}
const value = data[token.name]
const value = data[token.name || 'pathMatch']
let segment
if (value == null) {