1
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user