Commit d0599606 by liyijie

feat: 文件导出的处理

parent c76810ff
......@@ -236,9 +236,11 @@ module TalltyImportExport
'否'
elsif data.is_a?(Array) && data.first&.dig('url').present?
# 文件array
rt = Axlsx::RichText.new
data.map do |item|
item.dig('url')
end.compact.join('\n')
rt.add_run item.dig('url')
rt.add_run('\n')
end
else
data
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