sync: soul-admin 组件 | 原因: 前端组件修改

This commit is contained in:
卡若
2026-03-08 09:02:13 +08:00
parent 682cbd37c6
commit 36494429aa

View File

@@ -320,17 +320,6 @@ export function UserDetailModal({
return <Icon className="w-4 h-4" />
}
const getRFMLevelColor = (level: string) => {
const map: Record<string, string> = {
S: 'bg-amber-500/20 text-amber-400',
A: 'bg-green-500/20 text-green-400',
B: 'bg-blue-500/20 text-blue-400',
C: 'bg-gray-500/20 text-gray-400',
D: 'bg-red-500/20 text-red-400',
}
return map[level] || 'bg-gray-500/20 text-gray-400'
}
if (!open) return null
return (