diff --git a/src/global/getRowlen.js b/src/global/getRowlen.js index 2ce7b69..1ef292d 100644 --- a/src/global/getRowlen.js +++ b/src/global/getRowlen.js @@ -1,6 +1,6 @@ import { luckysheetfontformat } from '../utils/util'; import menuButton from '../controllers/menuButton'; -import { getcellvalue,checkstatusByCell } from './getdata'; +import { checkstatusByCell } from './getdata'; import { colLocationByIndex } from './location'; import { hasChinaword, isRealNull,checkWordByteLength } from './validate'; import { isInlineStringCell } from '../controllers/inlineString'; @@ -77,6 +77,10 @@ function rowlenByRange(d, r1, r2, cfg) { if(currentRowLen != Store.defaultrowlen){ cfg_clone["rowlen"][r] = currentRowLen; + }else{ + if(cfg["rowlen"][r]){ + cfg_clone["rowlen"][r] = cfg["rowlen"][r] + } } }