mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 01:14:50 +08:00
添加环境变量命令input改为textarea
This commit is contained in:
@@ -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"
|
||||
|
||||
Vendored
+1
-1
@@ -140,7 +140,7 @@ const Env = ({ headerStyle, isPhone, theme }: any) => {
|
||||
key: 'status',
|
||||
dataIndex: 'status',
|
||||
align: 'center' as const,
|
||||
width: 60,
|
||||
width: 70,
|
||||
filters: [
|
||||
{
|
||||
text: '已启用',
|
||||
|
||||
Reference in New Issue
Block a user