fix(admin): 去掉用户管理操作列重复的登录历史按钮
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -393,22 +393,6 @@ export default function UsersAdmin({
|
||||
return (
|
||||
<div className="flex items-center gap-1 justify-end">
|
||||
{auditBtn}
|
||||
<button
|
||||
type="button"
|
||||
data-tip="登录历史"
|
||||
aria-label={`查看 ${u.username} 的登录历史`}
|
||||
onClick={() => setLogsTarget(u)}
|
||||
className={ghostBtn}
|
||||
style={{ color: "var(--ink-3)" }}
|
||||
onMouseEnter={(e) => {
|
||||
e.currentTarget.style.background = "var(--panel-2)";
|
||||
}}
|
||||
onMouseLeave={(e) => {
|
||||
e.currentTarget.style.background = "";
|
||||
}}
|
||||
>
|
||||
<History size={15} />
|
||||
</button>
|
||||
<Link
|
||||
href={`/u/${u.id}`}
|
||||
data-tip="查看个人主页"
|
||||
@@ -916,7 +900,7 @@ function RoleAssignDialog({
|
||||
@{target.username}({target.nickname})
|
||||
</span>
|
||||
<span className="block mt-1">
|
||||
角色决定后台入口与前台管理能力;封禁立即强制下线。登录历史、站长内容档案仍走列表其他入口。
|
||||
角色决定后台入口与前台管理能力;封禁立即强制下线。站长内容档案仍走列表入口。
|
||||
</span>
|
||||
</>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user