This commit is contained in:
2026-08-06 14:23:12 +08:00
parent 395d979208
commit 990cdd3ff5
3 changed files with 4 additions and 4 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -28,7 +28,7 @@
} }
})(); })();
</script> </script>
<script type="module" crossorigin src="/assets/index-7k1wmlIX.js"></script> <script type="module" crossorigin src="/assets/index-BxYDA-8S.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-D3fwIbOp.css"> <link rel="stylesheet" crossorigin href="/assets/index-D3fwIbOp.css">
</head> </head>
<body> <body>
+2 -2
View File
@@ -324,13 +324,13 @@ const AdminApiKeys: React.FC = () => {
const columns: ColumnsType<ApiKey> = [ const columns: ColumnsType<ApiKey> = [
{ title: '公司', dataIndex: 'companyName', width: 120, ellipsis: true }, { title: '公司', dataIndex: 'companyName', width: 120, ellipsis: true },
{ {
title: 'Key 前缀', title: 'api-key',
dataIndex: 'apiKeyPrefix', dataIndex: 'apiKeyPrefix',
width: 180, width: 180,
render: (v: string, r: ApiKey) => ( render: (v: string, r: ApiKey) => (
<Space size={4}> <Space size={4}>
<code style={{ background: '#f5f5f5', padding: '2px 6px', borderRadius: 4 }}>{v}****</code> <code style={{ background: '#f5f5f5', padding: '2px 6px', borderRadius: 4 }}>{v}****</code>
<Button type="link" size="small" icon={<CopyOutlined />} onClick={() => handleCopyKey(r)}>api-key</Button> <Button type="link" size="small" icon={<CopyOutlined />} onClick={() => handleCopyKey(r)}></Button>
</Space> </Space>
), ),
}, },