File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
src/components/SimpleProcessDesignerV2/src/nodes-config Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -392,7 +392,10 @@ const changeTriggerType = () => {
392
392
response: []
393
393
}
394
394
configForm .value .formSettings = undefined
395
- } else if (configForm .value .type === TriggerTypeEnum .FORM_UPDATE ) {
395
+ return
396
+ }
397
+
398
+ if (configForm .value .type === TriggerTypeEnum .FORM_UPDATE ) {
396
399
configForm .value .formSettings =
397
400
originalSetting ?.type === TriggerTypeEnum .FORM_UPDATE && originalSetting .formSettings
398
401
? originalSetting .formSettings
@@ -404,7 +407,10 @@ const changeTriggerType = () => {
404
407
}
405
408
]
406
409
configForm .value .httpRequestSetting = undefined
407
- } else if (configForm .value .type === TriggerTypeEnum .FORM_DELETE ) {
410
+ return
411
+ }
412
+
413
+ if (configForm .value .type === TriggerTypeEnum .FORM_DELETE ) {
408
414
console .log (' originalSetting?.type' , originalSetting ?.type )
409
415
configForm .value .formSettings =
410
416
originalSetting ?.type === TriggerTypeEnum .FORM_DELETE && originalSetting .formSettings
@@ -417,6 +423,7 @@ const changeTriggerType = () => {
417
423
}
418
424
]
419
425
configForm .value .httpRequestSetting = undefined
426
+ return
420
427
}
421
428
}
422
429
You can’t perform that action at this time.
0 commit comments