Compare commits

..

3 Commits

Author SHA1 Message Date
邱博亞 073c86ba68 Fix title. 2024-08-22 22:42:35 +08:00
邱博亞 c5a35b69d1 Fix js not reload bug. 2024-08-22 22:42:35 +08:00
邱博亞 be792b0320 Fix bug in backend setting. 2024-08-22 22:42:35 +08:00
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ module Admin::Coloncancerpredict2sHelper
if arr.blank? if arr.blank?
'[]' '[]'
elsif arr.class != String elsif arr.class != String
'[' + arr.join(', ') + ']' '[' + arr.map{|s| (s.is_a?(String) && !(s.is_i?) && s.include?(' ')) ? "\"#{s}\"" : s}.join(', ') + ']'
else else
arr arr
end end