Commit 1998b21f by liyijie

feat: 支持对文件组件url的导出

parent ae11c124
......@@ -234,6 +234,11 @@ module TalltyImportExport
'是'
elsif data.is_a?(FalseClass)
'否'
elsif data.is_a?(Array) && data.first&.dig('url').present?
# 文件array
data.map do |item|
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