fix(*): 全量 UI 审查与 undefined 展示异常修复
分析模块:补齐看板、排行、趋势及报表数值兜底 企业与用户中心:修复统计、成员、技能及资金字段展示 充值与交易:修复充值、发票、订单、订阅及支付字段拼接 平台页面:修复渠道、模型、服务监控与状态空值展示 通用能力:新增安全展示工具,补齐九语言文案与回归测试 文档记录:更新修复范围、影响及回滚说明
This commit is contained in:
@@ -17,7 +17,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import { formatPercent } from '../../helpers/safeDisplay';
|
||||
import { formatIdReference, formatPercent } from '../../helpers/safeDisplay';
|
||||
import React, { useState, useCallback } from 'react';
|
||||
import { Badge, Empty, Progress, Skeleton, Tag, Tooltip, theme } from 'antd';
|
||||
import { ArrowDown } from 'lucide-react';
|
||||
@@ -104,16 +104,19 @@ const OrgRealtimeUsage = ({
|
||||
key: 'org_name',
|
||||
width: 220,
|
||||
fixed: 'left',
|
||||
render: (text, record) => (
|
||||
<div className='flex items-center gap-2 min-w-0'>
|
||||
<span className='text-sm font-medium truncate' title={text || ''}>
|
||||
{text || `${t('企业')} ${record.org_id}`}
|
||||
</span>
|
||||
<span className='text-xs text-[var(--text-secondary)] flex-shrink-0'>
|
||||
#{record.org_id}
|
||||
</span>
|
||||
</div>
|
||||
),
|
||||
render: (text, record) => {
|
||||
const orgReference = formatIdReference(record.org_id);
|
||||
return (
|
||||
<div className='flex items-center gap-2 min-w-0'>
|
||||
<span className='text-sm font-medium truncate' title={text || ''}>
|
||||
{text || `${t('企业')} ${orgReference}`}
|
||||
</span>
|
||||
<span className='text-xs text-[var(--text-secondary)] flex-shrink-0'>
|
||||
{orgReference}
|
||||
</span>
|
||||
</div>
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: (
|
||||
|
||||
Reference in New Issue
Block a user