| | |
| | | </div> |
| | | <div class="handler-item-text">包容分支</div> |
| | | </div> |
| | | <div class="handler-item" @click="addNode(NodeType.DELAY_TIMER_NODE)"> |
| | | <!-- TODO @芋艿 需要更换一下iconfont的图标 --> |
| | | <div class="handler-item-icon copy"> |
| | | <span class="iconfont icon-size icon-copy"></span> |
| | | </div> |
| | | <div class="handler-item-text">延迟器</div> |
| | | </div> |
| | | </div> |
| | | <template #reference> |
| | | <div class="add-icon"><Icon icon="ep:plus" /></div> |
| | |
| | | } |
| | | emits('update:childNode', data) |
| | | } |
| | | if (type === NodeType.DELAY_TIMER_NODE) { |
| | | const data: SimpleFlowNode = { |
| | | id: 'Activity_' + generateUUID(), |
| | | name: NODE_DEFAULT_NAME.get(NodeType.DELAY_TIMER_NODE) as string, |
| | | showText: '', |
| | | type: NodeType.DELAY_TIMER_NODE, |
| | | childNode: props.childNode |
| | | } |
| | | emits('update:childNode', data) |
| | | } |
| | | } |
| | | </script> |
| | | |