Commit fdf39a72 by liyijie

fix: fix export row_index error

parent ec6446d1
...@@ -100,8 +100,8 @@ module TalltyImportExport ...@@ -100,8 +100,8 @@ module TalltyImportExport
[association_record] [association_record]
records.each do |record| records.each do |record|
index += 1
headers.each_with_index do |header, col_index| headers.each_with_index do |header, col_index|
index += 1
_data = header[:source] ? _data = header[:source] ?
handle_data(association_record, header, index) : handle_data(association_record, header, index) :
handle_data(record, header, index) handle_data(record, header, index)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment