Commit b1b1286b by liyijie

feat: import_headers_result暂时做保护

parent b068fd27
......@@ -110,6 +110,7 @@ module TalltyImportExport
true
end
# TODO: 这里,对于import_headers,后面还是不要传参数了
# 需要合并proc,前端没有办法把proc传过来
def import_headers_result
import_header_hash = import_headers.to_h { |header| [header.with_indifferent_access[:key], header] }.with_indifferent_access
......@@ -120,6 +121,8 @@ module TalltyImportExport
end
header
end
rescue
@headers
end
def import_options
......
module TalltyImportExport
VERSION = "1.0.31"
VERSION = "1.0.32"
end
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