Commit 1472de8d by liyijie

feat: 直接使用url数组,wrap_text默认已经支持

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