mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 06:46:09 +08:00
添加环境变量命令input改为textarea
This commit is contained in:
parent
29a3bea6e4
commit
bb40111d38
|
@ -113,7 +113,7 @@ const Crontab = ({ headerStyle, isPhone }: any) => {
|
|||
key: 'status',
|
||||
dataIndex: 'status',
|
||||
align: 'center' as const,
|
||||
width: 60,
|
||||
width: 70,
|
||||
filters: [
|
||||
{
|
||||
text: '运行中',
|
||||
|
|
|
@ -67,7 +67,11 @@ const CronModal = ({
|
|||
<Input placeholder="请输入任务名称" />
|
||||
</Form.Item>
|
||||
<Form.Item name="command" label="命令" rules={[{ required: true }]}>
|
||||
<Input placeholder="请输入要执行的命令" />
|
||||
<Input.TextArea
|
||||
rows={4}
|
||||
autoSize={true}
|
||||
placeholder="请输入要执行的命令"
|
||||
/>
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
name="schedule"
|
||||
|
|
2
src/pages/env/index.tsx
vendored
2
src/pages/env/index.tsx
vendored
|
@ -140,7 +140,7 @@ const Env = ({ headerStyle, isPhone, theme }: any) => {
|
|||
key: 'status',
|
||||
dataIndex: 'status',
|
||||
align: 'center' as const,
|
||||
width: 60,
|
||||
width: 70,
|
||||
filters: [
|
||||
{
|
||||
text: '已启用',
|
||||
|
|
Loading…
Reference in New Issue
Block a user