|
|
|
@ -1,6 +1,6 @@
|
|
|
|
import React, { useEffect, useState } from 'react';
|
|
|
|
import React, { useEffect, useState } from 'react';
|
|
|
|
import { NodeEditorProps } from '@/components/FlowEditor/nodeEditors';
|
|
|
|
import { NodeEditorProps } from '@/components/FlowEditor/nodeEditors';
|
|
|
|
import { Typography } from '@arco-design/web-react';
|
|
|
|
import { Typography, Form, Input } from '@arco-design/web-react';
|
|
|
|
import { IconUnorderedList } from '@arco-design/web-react/icon';
|
|
|
|
import { IconUnorderedList } from '@arco-design/web-react/icon';
|
|
|
|
import { useDispatch, useSelector } from 'react-redux';
|
|
|
|
import { useDispatch, useSelector } from 'react-redux';
|
|
|
|
import EventSelect from '@/components/FlowEditor/nodeEditors/components/EventSelect';
|
|
|
|
import EventSelect from '@/components/FlowEditor/nodeEditors/components/EventSelect';
|
|
|
|
@ -22,6 +22,14 @@ const EventSendEditor: React.FC<NodeEditorProps> = ({ nodeData, updateNodeData }
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<>
|
|
|
|
|
|
|
|
<Form layout="vertical">
|
|
|
|
|
|
|
|
<Form.Item label="节点标题">
|
|
|
|
|
|
|
|
<Input
|
|
|
|
|
|
|
|
value={nodeData.title || ''}
|
|
|
|
|
|
|
|
onChange={(value) => updateNodeData('title', value)}
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
</Form>
|
|
|
|
<Typography.Title heading={5}><IconUnorderedList style={{ marginRight: 5 }} />事件选择</Typography.Title>
|
|
|
|
<Typography.Title heading={5}><IconUnorderedList style={{ marginRight: 5 }} />事件选择</Typography.Title>
|
|
|
|
<EventSelect
|
|
|
|
<EventSelect
|
|
|
|
nodeData={nodeData}
|
|
|
|
nodeData={nodeData}
|
|
|
|
|