mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-05-15 08:58:55 +08:00
feat: add extra field display in UsageFooter component for normal mode (#1137)
This commit is contained in:
@@ -180,6 +180,13 @@ const UsageFooter: React.FC<UsageFooterProps> = ({
|
||||
{firstUsage.unit}
|
||||
</span>
|
||||
)}
|
||||
|
||||
{/* 扩展字段 extra */}
|
||||
{firstUsage.extra && (
|
||||
<span className="text-gray-500 dark:text-gray-400 truncate max-w-[150px]" title={firstUsage.extra}>
|
||||
{firstUsage.extra}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user