添加环境变量命令input改为textarea

This commit is contained in:
hanhh 2021-09-05 23:38:36 +08:00
parent 29a3bea6e4
commit bb40111d38
3 changed files with 7 additions and 3 deletions

View File

@ -113,7 +113,7 @@ const Crontab = ({ headerStyle, isPhone }: any) => {
key: 'status',
dataIndex: 'status',
align: 'center' as const,
width: 60,
width: 70,
filters: [
{
text: '运行中',

View File

@ -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"

View File

@ -140,7 +140,7 @@ const Env = ({ headerStyle, isPhone, theme }: any) => {
key: 'status',
dataIndex: 'status',
align: 'center' as const,
width: 60,
width: 70,
filters: [
{
text: '已启用',