forked from Trustie/forgeplus
成员分成多个单元格
This commit is contained in:
parent
c2171eab9b
commit
0bd8c19a87
|
|
@ -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"]} ")
|
||||
|
|
|
|||
Loading…
Reference in New Issue