Преглед изворни кода

feat: 延迟处理、触发器 添加childNode

luoyali пре 1 година
родитељ
комит
f14538d66d
1 измењених фајлова са 4 додато и 2 уклоњено
  1. 4 2
      src/components/scWorkflow/nodes/addNode.vue

+ 4 - 2
src/components/scWorkflow/nodes/addNode.vue

@@ -106,7 +106,8 @@ export default {
 					// 一小时后触发 {"time": "1:h"} 单位【 d 天 h 时 m 分 】 发起后一小时三十分后触发 {"time": "01:30:00"}
 					extendConfig: {
 						time: '0:m'
-					}
+					},
+					childNode: this.modelValue
 				}
 			} else if (type == 7) {
 				node = {
@@ -119,7 +120,8 @@ export default {
 						time: '', // 立即执行 time不用设置
 						args: '',
 						trigger: ''
-					}
+					},
+					childNode: this.modelValue
 				}
 			}
 			this.$emit('update:modelValue', node)