hookehuyr

fix 屏蔽开始节点检查报错

...@@ -2393,6 +2393,8 @@ export default { ...@@ -2393,6 +2393,8 @@ export default {
2393 // TAG: 检查节点是否完整 2393 // TAG: 检查节点是否完整
2394 const checkResult = await checkAllFlowNodePropertyAPI({ flow_id: +flow_id }) 2394 const checkResult = await checkAllFlowNodePropertyAPI({ flow_id: +flow_id })
2395 if (checkResult.code) { 2395 if (checkResult.code) {
2396 + // TAG: 暂时不检查开始节点
2397 + checkResult.data = checkResult.data.filter(item => item !== 'start-node');
2396 if (noticeError(checkResult)) { 2398 if (noticeError(checkResult)) {
2397 return; 2399 return;
2398 } 2400 }
...@@ -2411,6 +2413,8 @@ export default { ...@@ -2411,6 +2413,8 @@ export default {
2411 // 检查点击节点后通过了,但是还有未通过的节点没有点击时 2413 // 检查点击节点后通过了,但是还有未通过的节点没有点击时
2412 const checkResult = await checkAllFlowNodePropertyAPI({ flow_id: +flow_id }) 2414 const checkResult = await checkAllFlowNodePropertyAPI({ flow_id: +flow_id })
2413 if (checkResult.code) { 2415 if (checkResult.code) {
2416 + // TAG: 暂时不检查开始节点
2417 + checkResult.data = checkResult.data.filter(item => item !== 'start-node');
2414 if (noticeError(checkResult)) { 2418 if (noticeError(checkResult)) {
2415 return; 2419 return;
2416 } 2420 }
......