This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
操作记录记录显示调整,不存在用户仅显示id
pull/347/head
xxq250
1 year ago
parent
c73e138ee7
commit
25978fb97e
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/models/user_action.rb
+ 1
- 1
app/models/user_action.rb
View File
@@ -45,7 +45,7 @@ class UserAction < ApplicationRecord
user&.login
else
del_user = UserAction.find_by(action_type: "DestroyUser", action_id: self.user_id)
del_user.present? ?
"已注销:#{
del_user.user.login
}"
: "不存在用户:#{user_id}"
del_user.present? ? del_user.user.login : "不存在用户:#{user_id}"
end
end
Write
Preview
Loading…
Cancel
Save