Fix import xlsx chunk bug
This commit is contained in:
parent
95e36f09a1
commit
d8d4bd7cee
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ func (xlsx *Xlsx) Chunk(size int, axises []string, cb func(line int, data [][]in
|
||||||
row, end := xlsx.readLine(line, axises)
|
row, end := xlsx.readLine(line, axises)
|
||||||
if end {
|
if end {
|
||||||
cb(line, data)
|
cb(line, data)
|
||||||
break
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
data = append(data, row)
|
data = append(data, row)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue