Browse Source
Merge pull request #816 from wenfangdu/patch-1
fix: `cfg["rowlen"]` might be `undefined`
master
Dushusir
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/global/getRowlen.js
|
|
@ -87,7 +87,7 @@ function rowlenByRange(d, r1, r2, cfg) { |
|
|
|
if(currentRowLen != Store.defaultrowlen){ |
|
|
|
cfg_clone["rowlen"][r] = currentRowLen; |
|
|
|
}else{ |
|
|
|
if(cfg["rowlen"][r]){ |
|
|
|
if(cfg["rowlen"]?.[r]){ |
|
|
|
cfg_clone["rowlen"][r] = cfg["rowlen"][r] |
|
|
|
} |
|
|
|
} |
|
|
|