|
@@ -5,6 +5,7 @@ import { CloseOutlined, RightOutlined } from '@ant-design/icons'
|
|
|
import { removeApprovalNode } from '@/services/api/project'
|
|
|
import consts from '@/utils/consts'
|
|
|
import { generateElements, genreateElementEnum } from '../../utils'
|
|
|
+import { message } from 'antd'
|
|
|
export const InputNode = () => {
|
|
|
return (
|
|
|
<>
|
|
@@ -47,6 +48,7 @@ export const CommonNode = props => {
|
|
|
flowProcess: newElements
|
|
|
})
|
|
|
if (code === consts.RET_CODE.SUCCESS) {
|
|
|
+ message.success('删除成功')
|
|
|
dispatch({
|
|
|
type: Actions.REMOVE_FLOW_NODE,
|
|
|
payload: { ...node, newElements }
|