fixed 删除用户时issue,pr用户显示已注销

This commit is contained in:
2024-10-09 15:34:19 +08:00
parent 4002245601
commit d5656f1d7a
2 changed files with 2 additions and 5 deletions

View File

@@ -7,4 +7,5 @@ if user.present?
else
json.name "已注销"
json.login ""
json.image_url Rails.application.config_for(:configuration)['platform_url'] + "/" + url_to_avatar(user).to_s
end