diff --git a/app/views/users/_resource_share_for_orgs.html.erb b/app/views/users/_resource_share_for_orgs.html.erb index dac52e360..6788161f0 100644 --- a/app/views/users/_resource_share_for_orgs.html.erb +++ b/app/views/users/_resource_share_for_orgs.html.erb @@ -1,7 +1,9 @@
发送到
- <% send_ids = send_ids.class == String ? send_ids : send_ids.join(",") %> + <% unless send_ids.blank? %> + <% send_ids = send_ids.class == String ? send_ids : send_ids.join(",") %> + <% end %> diff --git a/app/views/users/_resource_share_popup.html.erb b/app/views/users/_resource_share_popup.html.erb index bfb1d9761..68c059a1d 100644 --- a/app/views/users/_resource_share_popup.html.erb +++ b/app/views/users/_resource_share_popup.html.erb @@ -4,7 +4,9 @@
发送到
- <% send_ids = send_ids.class == String ? send_ids : send_ids.join(",") %> + <% unless send_ids.blank? %> + <% send_ids = send_ids.class == String ? send_ids : send_ids.join(",") %> + <% end %>