mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 17:54:32 +08:00
脚本管理移动端支持添加脚本、编辑脚本
This commit is contained in:
Vendored
+2
-1
@@ -166,11 +166,12 @@ const Env = ({ headerStyle, isPhone, theme }: any) => {
|
||||
{
|
||||
title: '操作',
|
||||
key: 'action',
|
||||
width: 100,
|
||||
align: 'center' as const,
|
||||
render: (text: string, record: any, index: number) => {
|
||||
const isPc = !isPhone;
|
||||
return (
|
||||
<Space size="middle" style={{ paddingLeft: 8 }}>
|
||||
<Space size="middle">
|
||||
<Tooltip title={isPc ? '编辑' : ''}>
|
||||
<a onClick={() => editEnv(record, index)}>
|
||||
<EditOutlined />
|
||||
|
||||
Reference in New Issue
Block a user