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