hookehuyr

控制连接线不能从其他节点到开始节点

...@@ -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') {
......