Commit 9c6b1aa0 by liyijie

fix: 对于Array的逻辑,进行修改

parent 3a1c3fe4
......@@ -236,7 +236,7 @@ module TalltyImportExport
elsif data.is_a?(FalseClass)
'否'
elsif data.is_a?(Array)
if data.first&.dig('url').present?
if data.first.is_a?(Hash) && data.first&.dig('url').present?
# 文件array
data.map do |item|
item.dig('url')
......
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