sync: soul-admin 组件 | 原因: 前端组件修改
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user