修改bug《测试版--课程/项目--配置--成员添加:如图,用户列表中各用户的邮箱全部为空了》
Signed-off-by: alan <547533434@qq.com>
This commit is contained in:
parent
4e0f4d0a55
commit
0049f921b9
|
@ -230,7 +230,12 @@ class User < Principal
|
|||
|
||||
#选择项目成员时显示的用户信息文字
|
||||
def userInfo
|
||||
info=self.nickname + ' (' + self.realname + ')';
|
||||
if self.realname.gsub(' ','') == "" || self.realname.nil?
|
||||
info = self.nickname;
|
||||
else
|
||||
info=self.nickname + ' (' + self.realname + ')';
|
||||
end
|
||||
info
|
||||
end
|
||||
|
||||
###添加留言 fq
|
||||
|
|
Loading…
Reference in New Issue