mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 17:54:32 +08:00
修复环境变量tooltip
This commit is contained in:
Vendored
+2
-2
@@ -123,7 +123,7 @@ const Env = () => {
|
||||
dataIndex: 'value',
|
||||
key: 'value',
|
||||
align: 'center' as const,
|
||||
width: '45%',
|
||||
width: '40%',
|
||||
ellipsis: {
|
||||
showTitle: false,
|
||||
},
|
||||
@@ -164,7 +164,7 @@ const Env = () => {
|
||||
render: (text: string, record: any, index: number) => {
|
||||
const isPc = width === '100%';
|
||||
return (
|
||||
<Space size="middle">
|
||||
<Space size="middle" style={{ paddingLeft: 8 }}>
|
||||
<Tooltip title={isPc ? '编辑' : ''}>
|
||||
<a onClick={() => editEnv(record, index)}>
|
||||
<EditOutlined />
|
||||
|
||||
Reference in New Issue
Block a user