Compare commits

..

3 Commits

Author SHA1 Message Date
邱博亞 542f3b8e42 Fix English title. 2024-08-22 22:25:12 +08:00
邱博亞 c770d021b2 Fix js not reload bug. 2024-08-22 22:25:12 +08:00
邱博亞 2d394115eb Fix bug in backend setting. 2024-08-22 22:15:35 +08:00
1 changed files with 1 additions and 1 deletions

View File

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