成员分成多个单元格

This commit is contained in:
xiaoxiaoqiong 2022-05-19 18:29:21 +08:00
parent c2171eab9b
commit 0bd8c19a87
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class CompetitionUser < ApplicationRecord
# end
#
def members_to_string
return "" if members.blank?
return [] if members.blank?
str = []
members.each do |m|
str.push("#{m["real_name"]} #{m["org_name"]} #{m["org_job"]} #{m["org_rank"]} ")