feat(ai-web): 完成执行任务的创建
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import {isEmpty, isEqual} from 'licia'
|
||||
import React from 'react'
|
||||
import {useParams} from 'react-router'
|
||||
import styled from 'styled-components'
|
||||
import {amisRender, commonInfo, horizontalFormOptions} from '../../../../util/amis.tsx'
|
||||
import {generateInputForm, typeMap} from '../InputSchema.tsx'
|
||||
import { useParams } from 'react-router'
|
||||
|
||||
const TemplateEditDiv = styled.div`
|
||||
.antd-EditorControl {
|
||||
@@ -54,7 +54,7 @@ const FlowTaskTemplateEdit: React.FC = () => {
|
||||
actionType: 'setValue',
|
||||
args: {
|
||||
value: {
|
||||
inputPreview: generateInputForm(inputSchema),
|
||||
inputPreview: generateInputForm(inputSchema, '入参表单预览'),
|
||||
},
|
||||
},
|
||||
})
|
||||
@@ -75,6 +75,8 @@ const FlowTaskTemplateEdit: React.FC = () => {
|
||||
label: '名称',
|
||||
required: true,
|
||||
clearable: true,
|
||||
maxLength: 10,
|
||||
showCounter: true,
|
||||
},
|
||||
{
|
||||
type: 'textarea',
|
||||
@@ -82,6 +84,8 @@ const FlowTaskTemplateEdit: React.FC = () => {
|
||||
label: '描述',
|
||||
required: true,
|
||||
clearable: true,
|
||||
maxLength: 500,
|
||||
showCounter: true,
|
||||
},
|
||||
{
|
||||
type: 'group',
|
||||
|
||||
Reference in New Issue
Block a user