Browse Source

Merge pull request #677 from flowerField/master

fix 修复bug#672
master
文顶顶 4 years ago
committed by GitHub
parent
commit
1d00cc8f53
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/global/getRowlen.js

6
src/global/getRowlen.js

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

Loading…
Cancel
Save