Commit 8b904f9a by Ivan Lan

导出宽度类型保护

parent 039202ac
......@@ -115,7 +115,7 @@ module TalltyImportExport
end
end
end
sheet.column_widths(*headers.map{|header| header[:width] || @width})
sheet.column_widths(*headers.map{|header| header[:width].to_f || @width})
end
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