fix(*): 全量 UI 审查与 undefined 展示异常修复
This commit is contained in:
@@ -25,6 +25,7 @@ import { Table, Button, Tag, Toast, Input, Popconfirm } from '@/components/ui';
|
||||
import { API } from '../../helpers/api';
|
||||
import { showError, collectPagedItems } from '../../helpers';
|
||||
import { renderQuota } from '../../helpers/render';
|
||||
import { formatIdReference } from '../../helpers/safeDisplay';
|
||||
import OrgPageHeader from './components/OrgPageHeader';
|
||||
import { OrgListCard, OrgRowActions } from './components/OrgListCard';
|
||||
import OrgModal from './components/OrgModal';
|
||||
@@ -158,7 +159,7 @@ const OrgRequests = ({ orgId, orgRole, featureFlags }) => {
|
||||
// 后端已富化 subject_name;主体被删除等极端情况回退为 #ID
|
||||
return r.subject_name
|
||||
? `${label} · ${r.subject_name}`
|
||||
: `${label} #${r.subject_id}`;
|
||||
: `${label} ${formatIdReference(r.subject_id, t('未知主体'))}`;
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user