diff --git a/app/models/user_action.rb b/app/models/user_action.rb
index 6f1a1d2fe..0c9a43347 100644
--- a/app/models/user_action.rb
+++ b/app/models/user_action.rb
@@ -31,7 +31,7 @@ class UserAction < ApplicationRecord
def action_name
case action_type
- when "DestroyUser" then "注销用户"
+ when "DestroyUser" then "用户注销"
when "DestroyProject" then "删除项目"
when "Login" then "登录"
when "Logout" then "退出登录"
diff --git a/app/views/admins/user_actions/index.html.erb b/app/views/admins/user_actions/index.html.erb
index bf052b146..e83e1e868 100644
--- a/app/views/admins/user_actions/index.html.erb
+++ b/app/views/admins/user_actions/index.html.erb
@@ -5,7 +5,7 @@
<%= form_tag(admins_user_actions_path, method: :get, class: 'form-inline search-form flex-1', remote: true) do %>
操作类型:
- <% action_type_options = [['自定义',''],['删除用户','DestroyUser'], ['删除项目', 'DestroyProject']] %>
+ <% action_type_options = [['自定义',''],['用户注销','DestroyUser'], ['删除项目', 'DestroyProject']] %>
<%= select_tag(:action_type_select, options_for_select(action_type_options), class: 'form-control') %>
<%= text_field_tag(:action_type, params[:action_type], class: 'form-control col-sm-2 ml-3',style: 'display:none;', placeholder: '自定义操作类型检索') %>
<%= text_field_tag(:keyword, params[:keyword], class: 'form-control col-sm-2 ml-3', placeholder: '用户名/邮箱/手机号检索') %>