Showing
1 changed file
with
4 additions
and
0 deletions
| ... | @@ -776,6 +776,10 @@ export default { | ... | @@ -776,6 +776,10 @@ export default { |
| 776 | return Promise.reject('reject') | 776 | return Promise.reject('reject') |
| 777 | } | 777 | } |
| 778 | } | 778 | } |
| 779 | + if (model.target === 'start-node') { | ||
| 780 | + ElNotification.error('流程不能连线到开始节点') | ||
| 781 | + return Promise.reject('reject') | ||
| 782 | + } | ||
| 779 | } | 783 | } |
| 780 | if (type === 'node') { | 784 | if (type === 'node') { |
| 781 | if (model.control === 'start' || model.control === 'end') { | 785 | if (model.control === 'start' || model.control === 'end') { | ... | ... |
-
Please register or login to post a comment