Commit e5bdde31 by liyijie

fix: 修改try_method调用错误

parent b680fa0e
......@@ -94,7 +94,7 @@ module TalltyImportExport
association_records.each do |association_record|
row = []
headers.each_with_index do |header, col_index|
records = @each_method.present? ? association_record.try_method(@each_method) : [association_record]
records = @each_method.present? ? try_method(association_record, @each_method) : [association_record]
records.each do |record|
index += 1
_data = header[:source] ?
......
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