Commit f4d58420 by liyijie

feat: 对于group_key存在的,headers使用本地的

parent 0386b7ef
......@@ -160,7 +160,7 @@ module TalltyImportExport
end
def export_headers_result
if @headers.present?
if @headers.present? && @group_key.blank?
headers_hash = @headers.to_h { |header| [header.with_indifferent_access[:key], header] }.with_indifferent_access
export_headers.select do |_header|
_header.with_indifferent_access[:key].to_s.in?(headers_hash.keys)
......
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