mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
环境变量名称增加复制功能
This commit is contained in:
parent
a864a56917
commit
956cfe18be
10
src/pages/env/index.tsx
vendored
10
src/pages/env/index.tsx
vendored
|
@ -82,6 +82,16 @@ const Env = () => {
|
|||
dataIndex: 'name',
|
||||
key: 'name',
|
||||
sorter: (a: any, b: any) => a.name.localeCompare(b.name),
|
||||
render: (text: string, record: any) => {
|
||||
return (
|
||||
<div style={{ display: 'flex', alignItems: 'center' }}>
|
||||
<Tooltip title={text} placement="topLeft">
|
||||
<div className="text-ellipsis">{text}</div>
|
||||
</Tooltip>
|
||||
<Copy text={text} />
|
||||
</div>
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: intl.get('值'),
|
||||
|
|
Loading…
Reference in New Issue
Block a user