diff --git a/app/views/issues/_form.html.erb b/app/views/issues/_form.html.erb index a599f57a9..c78dbfdb6 100644 --- a/app/views/issues/_form.html.erb +++ b/app/views/issues/_form.html.erb @@ -160,5 +160,9 @@ } // 里程碑添加默认选项 $("#issue_fixed_version_id option[value='']").remove(); - $('#issue_fixed_version_id').prepend("") + <% if params[:action] == "new" %> + $('#issue_fixed_version_id').prepend("") + <% else %> + $('#issue_fixed_version_id').prepend("") + <% end %>